summaryrefslogtreecommitdiffstats
path: root/tests/payload-ll
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-08-03 19:56:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-06 14:33:54 +0200
commit9a32c83f7529ca7b3f6d4b3253b537a9da5681af (patch)
tree96b7840de24864de175cd19e9b3bd01dd8f0439e /tests/payload-ll
parente5990b016a7c7d17e0dac1cadb6e8bc2c91610b0 (diff)
tests: fix test, commands now comes before the family and table name
Most tests still don't work though. They still need another fix. Reported-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/payload-ll')
-rw-r--r--[-rwxr-xr-x]tests/payload-ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/payload-ll b/tests/payload-ll
index 8d2480ac..feaf5874 100755..100644
--- a/tests/payload-ll
+++ b/tests/payload-ll
@@ -1,15 +1,15 @@
#! nft -f
-table add ip filter
-chain add ip filter input NF_INET_LOCAL_IN 0
+add table ip filter
+add chain ip filter input NF_INET_LOCAL_IN 0
# mac source
-rule add ip filter input @ll,48,48 00:15:e9:f0:10:f8 counter
+add rule ip filter input @ll,48,48 00:15:e9:f0:10:f8 counter
# mac dest
-rule add ip filter input @ll,0,48 00:1b:21:02:6f:ad counter
+add rule ip filter input @ll,0,48 00:1b:21:02:6f:ad counter
# mac source and mac dest
-rule add ip filter input @ll,0,48 00:1b:21:02:6f:ad \
+add rule ip filter input @ll,0,48 00:1b:21:02:6f:ad \
@ll,48,48 00:15:e9:f0:10:f8 \
counter