ip: translate fragmented icmp to fragmented icmp6 14/24714/2
authorAlexander Chernavin <achernavin@netgate.com>
Fri, 31 Jan 2020 14:19:49 +0000 (09:19 -0500)
committerOle Trøan <otroan@employees.org>
Tue, 4 Feb 2020 09:31:44 +0000 (09:31 +0000)
commit8af24b145ce13f03f63250a0fcc0fa3c3bb2adab
tree008b64470b4e7eeb4bff3d88b309d82675bf5321
parent0f966736833b4a1658f02a28c2ff585dd0ae90a7
ip: translate fragmented icmp to fragmented icmp6

The first translated ICMPv6 packet of a fragmented ICMP message does
not have a IPv6 fragment header. All subsequent have.

With this commit, add a IPv6 fragment header to the first translated
ICMPv6 packet.

Type: fix

Change-Id: Id89409ce7273cbeed801e2e18a09d3e7c3c4e4bc
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/plugins/map/test/test_map.py
src/vnet/ip/ip4_to_ip6.h