]> The Tcpdump Group git mirrors - tcpdump/commit
Clean up handling of different packet types.
authorGuy Harris <[email protected]>
Tue, 10 Jul 2018 08:01:15 +0000 (01:01 -0700)
committerGuy Harris <[email protected]>
Tue, 10 Jul 2018 08:01:32 +0000 (01:01 -0700)
commita3fa8638e8cfa36b2579c529c0742d310d003db3
tree332a1faedae48a69da2dfaa28c9ad886d6ee6bf0
parent39704bbb4969525b5a02dd51ffa6798705438ed4
 Clean up handling of different packet types.

Only look at the header for control packets; we don't know what the
payload contains for other packet types.

This fixes some cases where we fail to check whether we have a full
header before fetching from the header - we only need to fetch from the
header for control packets, so we now only need to check that we have it
for control packets; make sure we *don't* look at the header for other
packet types.

Update the v0 code to match draft-ietf-bfd-base-01, which was the last
draft that discussed v0.
print-bfd.c