]> git.ipfire.org Git - thirdparty/ipset.git/commitdiff
tests: hash:ip,port.t: Replace VRRP by GRE protocol
authorPhil Sutter <phil@nwl.cc>
Fri, 10 Mar 2023 17:46:20 +0000 (18:46 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 10 Mar 2023 20:59:39 +0000 (21:59 +0100)
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>
tests/hash:ip,port.t
tests/hash:ip,port.t.list2

index addbe3be1f78722258edbcdc3f884f689edff781..f65fb59116824ff92597741a19f9242d49a6ff26 100644 (file)
 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
index 0c5d3a15ef3698ea4cb78608d8194dbb8fea4012..25504227d4fd75c51be3330ca88260cf8caefb19 100644 (file)
@@ -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