]> git.ipfire.org Git - thirdparty/nftables.git/commit
payload: auto-remove simple icmp/icmpv6 dependency expressions
authorFlorian Westphal <fw@strlen.de>
Tue, 8 Dec 2020 22:51:59 +0000 (23:51 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 9 Dec 2020 17:33:53 +0000 (18:33 +0100)
commitd0f3b9eaab8d77eed94ec74e3c91218ca76da34d
tree56268f5c1a675124662abdc392ea709aed24cbe8
parenta45b2bea62ee73f0c30970f0e5fe8a568b844fb8
payload: auto-remove simple icmp/icmpv6 dependency expressions

Instead of:
icmpv6 type packet-too-big icmpv6 mtu 1280
display just
icmpv6 mtu 1280

The dependency added for id/sequence is still kept, its handled
by a anon set instead to cover both the echo 'request' and 'reply' cases.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/payload.h
src/netlink_delinearize.c
src/payload.c