diff options
author | Patrick McHardy <kaber@trash.net> | 2008-03-25 23:08:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-25 23:08:17 -0400 |
commit | 4bb119eab7b724109d8eeb0f8d86ed1e4953d338 (patch) | |
tree | cf69a29cf391ead51b38a74b57ef419357eb6985 | |
parent | 1d9d752259ab2e16b99f84b7e7bd4a30c884c289 (diff) |
[NETFILTER]: nf_conntrack_expect: show NF_CT_EXPECT_PERMANENT flag in /proc
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/nf_conntrack_expect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_expect.c b/net/netfilter/nf_conntrack_expect.c index 740d94d30091..4c05a588116f 100644 --- a/net/netfilter/nf_conntrack_expect.c +++ b/net/netfilter/nf_conntrack_expect.c | |||
@@ -475,6 +475,10 @@ static int exp_seq_show(struct seq_file *s, void *v) | |||
475 | __nf_ct_l3proto_find(expect->tuple.src.l3num), | 475 | __nf_ct_l3proto_find(expect->tuple.src.l3num), |
476 | __nf_ct_l4proto_find(expect->tuple.src.l3num, | 476 | __nf_ct_l4proto_find(expect->tuple.src.l3num, |
477 | expect->tuple.dst.protonum)); | 477 | expect->tuple.dst.protonum)); |
478 | |||
479 | if (expect->flags & NF_CT_EXPECT_PERMANENT) | ||
480 | seq_printf(s, "PERMANENT "); | ||
481 | |||
478 | return seq_putc(s, '\n'); | 482 | return seq_putc(s, '\n'); |
479 | } | 483 | } |
480 | 484 | ||