]> The Tcpdump Group git mirrors - tcpdump/commit
DHCPv6: Update the snapend for nested DHCPv6 packets
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 11 Feb 2021 16:46:02 +0000 (17:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 11 Feb 2021 17:23:22 +0000 (18:23 +0100)
commit3076dc3166d1d854a965443451ff3915d054d8f1
treeb9e31cbc502769ffe9f3c85ab115b8d40e73845c
parent40fa95e88afbf944949ee55ccd6b34bb0e7a8f49
DHCPv6: Update the snapend for nested DHCPv6 packets

Update the snapend to the end of the option before calling recursively
dhcp6_print() for the nested packet.
Other options may be present after the nested DHCPv6 packet.
This prevents that, in dhcp6_print(), for the nested DHCPv6 packet,
the remaining length < remaining caplen.
print-dhcp6.c