]> The Tcpdump Group git mirrors - tcpdump/commit
From Eddie Kohler <[email protected]>: In "ip_finddst()":
authorguy <guy>
Fri, 25 Jun 2004 01:21:06 +0000 (01:21 +0000)
committerguy <guy>
Fri, 25 Jun 2004 01:21:06 +0000 (01:21 +0000)
commitc451929916521bca3280b171fff52d1e2caba54b
treee858691fe9d607e478f7e2ce62711a4fd566782e
parent06d5226d37002572f911f865192cc5a24d39ed91
From Eddie Kohler <[email protected]>: In "ip_finddst()":

quit as soon as we see IPOPT_EOL;

*don't* quit as soon as we see IPOPT_NOP, just advance to the
next option, if any;

implement "quit" as "return the destination address from the IP
header rather than as "return 0".

Also, return the IP header destination address if we see a
source-routing option with a too-short length.
CREDITS
print-ip.c