]> The Tcpdump Group git mirrors - tcpdump/commit
Check whether the version field is available before looking at it.
authorGuy Harris <[email protected]>
Thu, 18 Dec 2014 22:43:29 +0000 (14:43 -0800)
committerGuy Harris <[email protected]>
Thu, 18 Dec 2014 22:43:29 +0000 (14:43 -0800)
commitc67afe913011138a2504ec4d3d423b48e73b12f3
treebdecc2dfce296f51f18be53cd02dcdc31eb0408f
parenta7266861e50b986ab88dd13f734ba182b1f2e04c
Check whether the version field is available before looking at it.

While we're at it, use ND_TCHECK(), rather than a hand-rolled check, to
check whether we have the full fixed-length portion of the IPv4 header.
print-ip.c