Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bb119ea authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[NETFILTER]: nf_conntrack_expect: show NF_CT_EXPECT_PERMANENT flag in /proc

parent 1d9d7522
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -475,6 +475,10 @@ static int exp_seq_show(struct seq_file *s, void *v)
		    __nf_ct_l3proto_find(expect->tuple.src.l3num),
		    __nf_ct_l4proto_find(expect->tuple.src.l3num,
				       expect->tuple.dst.protonum));

	if (expect->flags & NF_CT_EXPECT_PERMANENT)
		seq_printf(s, "PERMANENT ");

	return seq_putc(s, '\n');
}