]> The Tcpdump Group git mirrors - tcpdump/commit
Split the OSPFv3 header and bodies into separate structures.
authorGuy Harris <[email protected]>
Fri, 2 May 2014 02:48:10 +0000 (19:48 -0700)
committerGuy Harris <[email protected]>
Fri, 2 May 2014 02:48:10 +0000 (19:48 -0700)
commitf149d769de48b9209716d8b3520bec14216db51b
tree6e58f116e2270c0f1285984a12594922a335d6bf
parent5d00de50ff97c4a993b02b5a1cb76a4ca8daf92b
Split the OSPFv3 header and bodies into separate structures.

Some compilers appear to put some padding before the ospf6_un union, so
the OSPFv3 packets aren't dissected correctly.  Pull the members of
that union into separate structures, and find the pointer to the OSPFv6
body by adding the header length to the pointer to the beginning of the
header.
print-ospf6.c