summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_arpreply.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-10-09 11:51:36 +0200
committerPhil Sutter <phil@nwl.cc>2024-01-10 16:07:31 +0100
commit1d971efd9f64467e60fa6d8ad1e6926ad2dea2c1 (patch)
treecd7519e2ef1b9014193143e55356ba4b5c91963b /extensions/libebt_arpreply.t
parentdc6efcfeac3828d1839e74afd3ec78bfe8a63a5c (diff)
extensions: libebt_arpreply: Use guided option parser
Diffstat (limited to 'extensions/libebt_arpreply.t')
-rw-r--r--extensions/libebt_arpreply.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/libebt_arpreply.t b/extensions/libebt_arpreply.t
index 6734501a..66103e16 100644
--- a/extensions/libebt_arpreply.t
+++ b/extensions/libebt_arpreply.t
@@ -1,4 +1,8 @@
:PREROUTING
*nat
+-j arpreply;=;FAIL
+-p ARP -i foo -j arpreply;-p ARP -i foo -j arpreply --arpreply-mac 00:00:00:00:00:00;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
+-p ARP -j arpreply ! --arpreply-mac de:ad:00:be:ee:ff;;FAIL
+-p ARP -j arpreply --arpreply-mac de:ad:00:be:ee:ff ! --arpreply-target ACCEPT;;FAIL