From: Pablo Neira Ayuso Date: Fri, 19 Apr 2013 11:29:11 +0000 (+0200) Subject: tests: family-ipv6: update to use the current syntax X-Git-Tag: v0.099~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e733be6f42e93a5dfeb5cb95e01a131dd2c32442;p=thirdparty%2Fnftables.git tests: family-ipv6: update to use the current syntax Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/family-ipv6 b/tests/family-ipv6 index 1ddb53e5..e76b2cea 100644 --- a/tests/family-ipv6 +++ b/tests/family-ipv6 @@ -1,10 +1,13 @@ #! nft -f add table ip6 filter -add chain ip6 filter output NF_INET_LOCAL_OUT 0 +add chain ip6 filter output { hook NF_INET_LOCAL_OUT 0 ; } # IP address add rule ip6 filter output ip6 daddr 2001:6f8:974::1 counter +# Next protocol +add rule ip6 filter output ip6 nexthdr tcp + # TCP ports -add rule ip6 filter output ip6 nexthdr 6 tcp dport 22 counter +add rule ip6 filter output tcp dport 22 counter