From e733be6f42e93a5dfeb5cb95e01a131dd2c32442 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 19 Apr 2013 13:29:11 +0200 Subject: tests: family-ipv6: update to use the current syntax Signed-off-by: Pablo Neira Ayuso --- tests/family-ipv6 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3