diff options
author | 1999-07-28 20:41:34 +0000 | |
---|---|---|
committer | 1999-07-28 20:41:34 +0000 | |
commit | da08816c9c1020939e2627a494f2b90585c35c32 (patch) | |
tree | bf8ad643aad023f659c7f22b61cf3b787289dc4c /usr.sbin/tcpdump/print-bootp.c | |
parent | Add LLC_SNAPFRAMELEN define. indent. (diff) | |
download | wireguard-openbsd-da08816c9c1020939e2627a494f2b90585c35c32.tar.xz wireguard-openbsd-da08816c9c1020939e2627a494f2b90585c35c32.zip |
- Merge some changes from tcpdump 3.4
-a flag; attempt to convert network and broadcast addresses to names
Improved signal handling
Miscellaneous fixes and typos
OSPF MD5 authentication support
- -X flag; emacs-hexl print (including ascii)
- Add ECN bits to TCP and IP headers
- IKE & IPsec (ESP & AH) support
OK deraadt@
Diffstat (limited to 'usr.sbin/tcpdump/print-bootp.c')
-rw-r--r-- | usr.sbin/tcpdump/print-bootp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/print-bootp.c b/usr.sbin/tcpdump/print-bootp.c index 64ead9695c6..fc86e9623eb 100644 --- a/usr.sbin/tcpdump/print-bootp.c +++ b/usr.sbin/tcpdump/print-bootp.c @@ -22,7 +22,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-bootp.c,v 1.7 1998/07/08 22:32:03 deraadt Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-bootp.c,v 1.8 1999/07/28 20:41:36 jakob Exp $ (LBL)"; #endif #include <sys/param.h> @@ -39,6 +39,7 @@ struct rtentry; #include <netinet/if_ether.h> #include <ctype.h> +#include <memory.h> #include <stdio.h> #include <string.h> @@ -145,6 +146,7 @@ bootp_print(register const u_char *cp, u_int length, fputs(tstr + 1, stdout); return; } + putchar('"'); } TCHECK2(bp->bp_file[0], 1); /* check first char only */ if (*bp->bp_file) { @@ -154,6 +156,7 @@ bootp_print(register const u_char *cp, u_int length, fputs(tstr + 1, stdout); return; } + putchar('"'); } /* Decode the vendor buffer */ |