summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_arpreply.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_arpreply.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_arpreply.t')
-rw-r--r--extensions/libebt_arpreply.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libebt_arpreply.t b/extensions/libebt_arpreply.t
index f7bc85f9..6734501a 100644
--- a/extensions/libebt_arpreply.t
+++ b/extensions/libebt_arpreply.t
@@ -1,4 +1,4 @@
:PREROUTING
*nat
--p ARP -i foo -j arpreply --arpreply-mac de:ad:0:be:ee:ff --arpreply-target ACCEPT;=;OK
--p ARP -i foo -j arpreply --arpreply-mac de:ad:0:be:ee:ff;=;OK
+-p ARP -i foo -j arpreply --arpreply-mac de:ad:00:be:ee:ff --arpreply-target ACCEPT;=;OK
+-p ARP -i foo -j arpreply --arpreply-mac de:ad:00:be:ee:ff;=;OK