Commit Graph

2 Commits

Author SHA1 Message Date
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
sjg dbb9ca2738 Add printing of TELNET options (with -v) and hex/ascii (-X).
Thanks to Alan Barrett for the simpler hexdump code and testing.
Tested on -current and 1.4.1.
1999-09-30 14:49:12 +00:00