]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
tests: libxt_recent.t: Add missing default values
authorPhil Sutter <phil@nwl.cc>
Fri, 30 Sep 2022 23:13:54 +0000 (01:13 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 26 Oct 2022 18:11:55 +0000 (20:11 +0200)
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_recent.t

index 9a83918ea583581ab6db4ba44a929da6e7bba2b9..cf23aabc6e63bdcee832de38c7f15fd3ceb11a59 100644 (file)
@@ -1,8 +1,8 @@
 :INPUT,FORWARD,OUTPUT
--m recent --set;=;OK
+-m recent --set;-m recent --set --name DEFAULT --mask 255.255.255.255 --rsource;OK
 -m recent --rcheck --hitcount 8 --name foo --mask 255.255.255.255 --rsource;=;OK
 -m recent --rcheck --hitcount 12 --name foo --mask 255.255.255.255 --rsource;=;OK
--m recent --update --rttl;=;OK
+-m recent --update --rttl;-m recent --update --rttl --name DEFAULT --mask 255.255.255.255 --rsource;OK
 -m recent --set --rttl;;FAIL
 -m recent --rcheck --hitcount 999 --name foo --mask 255.255.255.255 --rsource;;FAIL
 # nonsensical, but all should load successfully: