summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-03-10 18:46:20 +0100
committerPhil Sutter <phil@nwl.cc>2023-03-10 21:59:39 +0100
commit989d5a5547f1d2962b9e133e7151033507421de4 (patch)
tree745965676beefdad156de94c81e3f0be13c8fac8
parenta67aa712ed912c721f3cb7e10dee6bbe239b1869 (diff)
tests: hash:ip,port.t: Replace VRRP by GRE protocol
Some systems may not have "vrrp" as alias to "carp" yet, so use a protocol which is less likely to cause problems for testing purposes. Fixes: a67aa712ed912 ("tests: hash:ip,port.t: 'vrrp' is printed as 'carp'") Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--tests/hash:ip,port.t8
-rw-r--r--tests/hash:ip,port.t.list22
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/hash:ip,port.t b/tests/hash:ip,port.t
index addbe3b..f65fb59 100644
--- a/tests/hash:ip,port.t
+++ b/tests/hash:ip,port.t
@@ -62,10 +62,10 @@
0 ipset test test 2.0.0.1,tcp:80
# Test element with UDP protocol
0 ipset test test 2.0.0.1,udp:80
-# Add element with vrrp
-0 ipset add test 2.0.0.1,vrrp:0
-# Test element with vrrp
-0 ipset test test 2.0.0.1,vrrp:0
+# Add element with GRE
+0 ipset add test 2.0.0.1,gre:0
+# Test element with GRE
+0 ipset test test 2.0.0.1,gre:0
# Add element with sctp
0 ipset add test 2.0.0.1,sctp:80
# Test element with sctp
diff --git a/tests/hash:ip,port.t.list2 b/tests/hash:ip,port.t.list2
index 0c5d3a1..2550422 100644
--- a/tests/hash:ip,port.t.list2
+++ b/tests/hash:ip,port.t.list2
@@ -6,6 +6,6 @@ Size in memory: 480
References: 0
Number of entries: 3
Members:
-2.0.0.1,carp:0
+2.0.0.1,gre:0
2.0.0.1,tcp:80
2.0.0.1,udp:80