summaryrefslogtreecommitdiffstats
path: root/test/test_map.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_map.py')
-rw-r--r--test/test_map.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_map.py b/test/test_map.py
index 90fee301267..22fe1e1d20a 100644
--- a/test/test_map.py
+++ b/test/test_map.py
@@ -388,7 +388,8 @@ class TestMAP(VppTestCase):
self.pg_send(self.pg0, v4*1)
rx = self.pg1.get_capture(2)
- frags = fragment_rfc791(v4[1], 1000)
+ # 1000-sizeof(ip6_header_t) = 960.
+ frags = fragment_rfc791(v4[1], 960)
frags[0].id = 0
frags[1].id = 0
frags[0].ttl -= 1