Avoid having tcpdump trying to print protocol information, as this might fail
for some ports.
For instance a packet with port 49152 would be decoded as
  length 44: 42.42.42.3.49152 > 42.42.42.2.4343:  (length 2 < 4) (invalid)

Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/system-ovn.at | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 0831a2108..463081721 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -9353,7 +9353,7 @@ name: 'vport4' value: '999'
 NETNS_DAEMONIZE([vm1], [nc -k -l 42.42.42.2 4242], [nc-vm1.pid])
 
 NETNS_START_TCPDUMP([vm1],
-    [-n -i vm1 -nnleX -c6 udp and dst 42.42.42.2 and dst port 4343],
+    [-n -i vm1 -nnqleX -c6 udp and dst 42.42.42.2 and dst port 4343],
     [vm1])
 
 # Make sure connecting to the VIP works (hairpin, via ls and via lr).
@@ -9504,7 +9504,7 @@ name: 'vport4' value: '999'
 NETNS_DAEMONIZE([vm1], [nc -k -l 4242::2 4242], [nc-vm1.pid])
 
 NETNS_START_TCPDUMP([vm1],
-    [-n -i vm1 -nnleX -c6 udp and dst 4242::2 and dst port 4343],
+    [-n -i vm1 -nnqleX -c6 udp and dst 4242::2 and dst port 4343],
     [vm1])
 
 # Make sure connecting to the VIP works (hairpin, via ls and via lr).
-- 
2.31.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to