From 0bb14d79edb065bc97fdd11a7bfa7d1605266e08 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Thu, 3 Dec 2020 13:08:43 +0100 Subject: vpp-device: GENEVE tunnel test, l3 mode Jira: CSIT-1769 Change-Id: I98510cd8e627d7347f77d0032b7bac28f2e36c61 Signed-off-by: Jan Gelety --- GPL/traffic_scripts/PacketVerifier.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'GPL/traffic_scripts/PacketVerifier.py') diff --git a/GPL/traffic_scripts/PacketVerifier.py b/GPL/traffic_scripts/PacketVerifier.py index c915921625..bb91b9361c 100644 --- a/GPL/traffic_scripts/PacketVerifier.py +++ b/GPL/traffic_scripts/PacketVerifier.py @@ -331,9 +331,10 @@ def create_gratuitous_arp_request(src_mac, src_ip): def auto_pad(packet): """Pads zeroes at the end of the packet if the total packet length is less - then 64 bytes in case of IPv4 or 78 bytes in case of IPv6. + then 60 bytes in case of IPv4 or 78 bytes in case of IPv6. """ - min_len = 78 if packet.haslayer(IPv6) else 64 + # TODO: add document explaining deduction of FCS part + min_len = 78 if packet.haslayer(IPv6) else 60 pad_layer = Raw if packet.haslayer(Raw) \ else Padding if packet.haslayer(Padding) else None if pad_layer: -- cgit 1.2.3-korg