summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_pkttype.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-03 23:43:49 +0100
committerFlorian Westphal <fw@strlen.de>2018-11-07 20:08:15 +0100
commit7bd9febf65e98eb1f4b4d51afa2479c442066235 (patch)
tree016e65d6e7fc85cda5baa28837e8e0f2c2c93240 /extensions/libebt_pkttype.t
parenta10eb8861c8fdc8894a8c2f6baf4dd791d5ab4f0 (diff)
libxtables: add and use mac print helpers
This changes ebtables-nft to consistently print mac address with two characters, i.e. 00:01:02:03:04:0a, not 0:1:2:3:4:a. Will require another bump of vcurrent/vage. Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libebt_pkttype.t')
-rw-r--r--extensions/libebt_pkttype.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/libebt_pkttype.t b/extensions/libebt_pkttype.t
index 921cf3ac..f5f76aaa 100644
--- a/extensions/libebt_pkttype.t
+++ b/extensions/libebt_pkttype.t
@@ -1,8 +1,4 @@
:INPUT,FORWARD,OUTPUT
--s 0:0:0:0:0:0;=;OK
--d 00:00:0:00:00:00;-d 0:0:0:0:0:0;OK
--s de:ad:be:ef:0:00 -j RETURN;-s de:ad:be:ef:0:0 -j RETURN;OK
--d de:ad:be:ef:0:0;=;OK
! --pkttype-type host;--pkttype-type ! host -j CONTINUE;OK
--pkttype-type host;=;OK
--pkttype-type broadcast;=;OK