From 646c5d02a5db3e8c3677cdf8426a646dd118fd49 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 30 Aug 2021 21:37:50 +0200 Subject: rule: remove redundant meta protocol from the evaluation step 567ea4774e13 ("netlink_delinearize: incorrect meta protocol dependency kill") does not document two cases that are handled in this patch: - 'meta protocol ip' is removed if used in the ip family. - 'meta protocol ip6' is removed if used in the ip6 family. This patch removes this redundancy earlier, from the evaluation step before netlink bytecode generation. Signed-off-by: Pablo Neira Ayuso --- tests/py/ip/meta.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/ip/meta.t') diff --git a/tests/py/ip/meta.t b/tests/py/ip/meta.t index fecd0caf..5a05923a 100644 --- a/tests/py/ip/meta.t +++ b/tests/py/ip/meta.t @@ -8,7 +8,7 @@ meta l4proto ipv6-icmp icmpv6 type nd-router-advert;ok;icmpv6 type nd-router-adv meta l4proto 58 icmpv6 type nd-router-advert;ok;icmpv6 type nd-router-advert icmpv6 type nd-router-advert;ok -meta protocol ip udp dport 67;ok +meta protocol ip udp dport 67;ok;udp dport 67 meta ibrname "br0";fail meta obrname "br0";fail -- cgit v1.2.3