]> The Tcpdump Group git mirrors - tcpdump/commit
Do sanity checking on the hardware address and protocol address lengths;
authorguy <guy>
Wed, 4 Sep 2002 10:11:44 +0000 (10:11 +0000)
committerguy <guy>
Wed, 4 Sep 2002 10:11:44 +0000 (10:11 +0000)
commit5dd4a8b71eda5ca158e163c1860d70f257e933f8
treedcc79579121892b200e7e4a61afd1913d0b309db
parentfd11c38033dc1c7387e71a711be141a74ea73bfa
Do sanity checking on the hardware address and protocol address lengths;
if the checks fail, treat it the same as we do for and unknown protocol
(we require the hardware address length not to be zero, as
"linkaddr_string()" can't handle that, and we require the protocol
address length to be 4, as we only handle IP as a protocol type).
print-arp.c