]> The Tcpdump Group git mirrors - tcpdump/commit
Clean up the handling of the IGMP header.
authorGuy Harris <[email protected]>
Mon, 15 Oct 2018 17:08:33 +0000 (10:08 -0700)
committerGuy Harris <[email protected]>
Mon, 15 Oct 2018 17:08:33 +0000 (10:08 -0700)
commit4c58e0821ce305420dec02d9d956f737e1080c4e
tree6abe0612d1844428150ffa22621d239ab36aac98
parent6b697a4719685cbe8902a2b714b638899eccab72
Clean up the handling of the IGMP header.

Extract the major and minor versions separately, rather than stuffing
them, along with other unused information, into a 32-bit word and then
pulling that word back apart.

Don't use a global variable to store the major and minor versions, pass
them as arguments.

Note where the protocol is specified.
print-dvmrp.c