Commit Graph

13 Commits

Author SHA1 Message Date
itojun 8d42ab239c remove extra \n even more. sync with tcpdump.org 2001-05-27 04:57:19 +00:00
itojun 46636f1249 remove too many \n for icmp6 too big 2001-05-26 12:31:56 +00:00
enami 8eaad363dc s/preffered/preferred/ in message. 2001-02-19 09:53:50 +00:00
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
itojun afa5315364 correct typo in #define. ICMP6_NI_SUCESS -> SUCCESS (notice missing C).
sync with kame.
2000-08-03 14:31:04 +00:00
itojun d9bba2ca98 some merge from tcpdump.org code.
- print-telnet.c: do not print control character
- print-icmp6.c: improve icmp6 node information printing
  (we need to at least meet our kernel code!)
- update dhcp6 printing to 15 draft (14 and 15 are totally incompatible)
- add safeputc() and safeputs() into util.c
2000-08-01 17:29:47 +00:00
itojun 17023b3e8f style. s/switch(/switch (/. 2000-04-24 13:02:28 +00:00
itojun 6baefd92e4 sync with recent KAME.
- more length overflow check for ip6 related parsing
- protocol decode fixes
- add dhcp6 parser

XXX how should we maintain usr.sbin/tcpdump for years to come?
relationship with www.tcpdump.org codebase?
1999-12-10 05:45:07 +00:00
itojun 159487207b add NetBSD RCSID where necessary.
add __RCSID where necessary.
make sure "make lint" does not raise fatal error (print-nfs.c)
1999-09-04 03:36:41 +00:00
itojun 11b205990c improve icmp6 printing on jumbogram case.
sync print-null.c with recent KAME code.
1999-07-26 06:26:58 +00:00
itojun 0ff82b2f3d fix compilation on alpha. 1999-07-06 13:05:14 +00:00
itojun 5833a5a382 add NetBSD RCS ID where necessary. 1999-07-04 02:57:51 +00:00
itojun c282889c17 Pv6, IPsec, ospf6, ripng, dhcp and other protocols support. 1999-07-02 11:31:28 +00:00