tests: fix UDP port range for mdata and bufmon
[vpp.git] / test / test_bufmon.py
index baa9374..6d7f2f6 100644 (file)
@@ -41,7 +41,7 @@ class TestBufmon(VppTestCase):
             p = (
                 Ether(dst=src_if.local_mac, src=src_if.remote_mac)
                 / IP(src=src_if.remote_ip4, dst=dst_if.remote_ip4)
-                / UDP(sport=randint(1000, 2000), dport=5678)
+                / UDP(sport=randint(49152, 65535), dport=5678)
                 / Raw(payload)
             )
             info.data = p.copy()