All of lore.kernel.org
 help / color / mirror / Atom feed
* [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol
@ 2023-03-10 17:49 Phil Sutter
  2023-03-10 18:27 ` Pablo Neira Ayuso
  2023-03-10 21:01 ` Phil Sutter
  0 siblings, 2 replies; 4+ messages in thread
From: Phil Sutter @ 2023-03-10 17:49 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netfilter-devel, Pablo Neira Ayuso

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       | 8 ++++----
 tests/hash:ip,port.t.list2 | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/hash:ip,port.t b/tests/hash:ip,port.t
index addbe3be1f787..f65fb59116824 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 0c5d3a15ef369..25504227d4fd7 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
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol
  2023-03-10 17:49 [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol Phil Sutter
@ 2023-03-10 18:27 ` Pablo Neira Ayuso
  2023-03-10 21:01 ` Phil Sutter
  1 sibling, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2023-03-10 18:27 UTC (permalink / raw)
  To: Phil Sutter; +Cc: Jozsef Kadlecsik, netfilter-devel

On Fri, Mar 10, 2023 at 06:49:03PM +0100, Phil Sutter wrote:
> 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.

LGTM, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol
  2023-03-10 17:49 [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol Phil Sutter
  2023-03-10 18:27 ` Pablo Neira Ayuso
@ 2023-03-10 21:01 ` Phil Sutter
  2023-03-15 11:52   ` Jozsef Kadlecsik
  1 sibling, 1 reply; 4+ messages in thread
From: Phil Sutter @ 2023-03-10 21:01 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netfilter-devel, Pablo Neira Ayuso

On Fri, Mar 10, 2023 at 06:49:03PM +0100, Phil Sutter wrote:
> 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>

Patch applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol
  2023-03-10 21:01 ` Phil Sutter
@ 2023-03-15 11:52   ` Jozsef Kadlecsik
  0 siblings, 0 replies; 4+ messages in thread
From: Jozsef Kadlecsik @ 2023-03-15 11:52 UTC (permalink / raw)
  To: Phil Sutter; +Cc: netfilter-devel, Pablo Neira Ayuso

Hi Phil, Pablo,

On Fri, 10 Mar 2023, Phil Sutter wrote:

> On Fri, Mar 10, 2023 at 06:49:03PM +0100, Phil Sutter wrote:
> > 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>
> 
> Patch applied.

Thank you for helping me out in these times! For the time being I can only 
work on ipset sporadically.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.hu
PGP key : https://wigner.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics
          H-1525 Budapest 114, POB. 49, Hungary

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-15 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 17:49 [ipset PATCH] tests: hash:ip,port.t: Replace VRRP by GRE protocol Phil Sutter
2023-03-10 18:27 ` Pablo Neira Ayuso
2023-03-10 21:01 ` Phil Sutter
2023-03-15 11:52   ` Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.