diff options
author | Florian Westphal <fw@strlen.de> | 2013-07-24 12:40:50 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2013-07-24 12:59:38 +0200 |
commit | 89d016bb2cd72013cec1ae1c5cb2dfff15563d51 (patch) | |
tree | 57d75c5b617c91f4e70c557e4a2e157a97b64927 | |
parent | c9cba32f4820a9febee116bbc268ec8b1ae9a04c (diff) | |
download | conntrack-tools-89d016bb2cd72013cec1ae1c5cb2dfff15563d51.tar.gz conntrack-tools-89d016bb2cd72013cec1ae1c5cb2dfff15563d51.zip |
conntrack: fix -L format output
commit d343b8c (conntrack: add connlabel format attribute) erronously
removed _UNKNOWN format, i.e. conntrack -L displayed
[UPDATE] tcp 6 114 TIME_WAIT src=..
^^^^^
Reported-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | src/conntrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 353ff61..af36f78 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -1285,7 +1285,7 @@ static int dump_cb(enum nf_conntrack_msg_type type, if (output_mask & _O_ID) op_flags |= NFCT_OF_ID; - nfct_snprintf_labels(buf, sizeof(buf), ct, type, op_type, op_flags, labelmap); + nfct_snprintf_labels(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, op_type, op_flags, labelmap); printf("%s\n", buf); counter++; |