From: Pablo Neira Ayuso Date: Mon, 19 Nov 2018 13:09:20 +0000 (+0100) Subject: extensions: libip6t_mh: fix bogus translation error X-Git-Tag: v1.8.3~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5839d7fe62ff667af7132fc7d589b386951f27b3;p=thirdparty%2Fiptables.git extensions: libip6t_mh: fix bogus translation error libip6t_mh.txlate: Fail src: ip6tables-translate -A INPUT -p mh --mh-type 1 -j ACCEPT exp: nft add rule ip6 filter INPUT meta l4proto 135 mh type 1 counter accept res: nft add rule ip6 filter INPUT meta l4proto mobility-header mh type 1 counter accept Signed-off-by: Pablo Neira Ayuso --- diff --git a/extensions/libip6t_mh.txlate b/extensions/libip6t_mh.txlate index ccc07c3d..f5d638c0 100644 --- a/extensions/libip6t_mh.txlate +++ b/extensions/libip6t_mh.txlate @@ -1,5 +1,5 @@ ip6tables-translate -A INPUT -p mh --mh-type 1 -j ACCEPT -nft add rule ip6 filter INPUT meta l4proto 135 mh type 1 counter accept +nft add rule ip6 filter INPUT meta l4proto mobility-header mh type 1 counter accept ip6tables-translate -A INPUT -p mh --mh-type 1:3 -j ACCEPT -nft add rule ip6 filter INPUT meta l4proto 135 mh type 1-3 counter accept +nft add rule ip6 filter INPUT meta l4proto mobility-header mh type 1-3 counter accept