diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_map.py | 4 | ||||
-rw-r--r-- | test/test_mtu.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test_map.py b/test/test_map.py index 19e582426b2..565f7da6491 100644 --- a/test/test_map.py +++ b/test/test_map.py @@ -659,7 +659,7 @@ class TestMAP(VppTestCase): p4 = p_ether / ip4_ttl_expired / payload icmp4_reply = ( - IP(id=0, ttl=254, src=self.pg0.local_ip4, dst=self.pg0.remote_ip4) + IP(id=0, ttl=255, src=self.pg0.local_ip4, dst=self.pg0.remote_ip4) / ICMP(type="time-exceeded", code="ttl-zero-during-transit") / IP(src=self.pg0.remote_ip4, dst="192.168.0.1", ttl=0) / payload @@ -673,7 +673,7 @@ class TestMAP(VppTestCase): p4 = p_ether / ip4_ttl_expired / payload icmp4_reply = ( - IP(id=0, ttl=254, src=self.pg0.local_ip4, dst=self.pg0.remote_ip4) + IP(id=0, ttl=255, src=self.pg0.local_ip4, dst=self.pg0.remote_ip4) / ICMP(type="time-exceeded", code="ttl-zero-during-transit") / IP(src=self.pg0.remote_ip4, dst="192.168.0.1", ttl=1) / payload diff --git a/test/test_mtu.py b/test/test_mtu.py index ed4fcb57818..6735cc602a8 100644 --- a/test/test_mtu.py +++ b/test/test_mtu.py @@ -99,7 +99,7 @@ class TestMTU(VppTestCase): chksum=0x2DBB, ) icmp4_reply = ( - IP(src=self.pg0.local_ip4, dst=self.pg0.remote_ip4, ttl=254, len=576, id=0) + IP(src=self.pg0.local_ip4, dst=self.pg0.remote_ip4, ttl=255, len=576, id=0) / p_icmp4 / p_ip4 / p_payload |