diff options
author | fenner <fenner@FreeBSD.org> | 1998-09-15 19:46:59 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1998-09-15 19:46:59 +0000 |
commit | 03014afd0377fb8957d9c87572c96a6096b14d45 (patch) | |
tree | 06d0bbbc70fe36db13ceefd086607351b3abea15 /contrib/tcpdump/print-bootp.c | |
parent | 577b5b88b39bedc51620403e37d7e98cceb75351 (diff) | |
download | FreeBSD-src-03014afd0377fb8957d9c87572c96a6096b14d45.zip FreeBSD-src-03014afd0377fb8957d9c87572c96a6096b14d45.tar.gz |
Merge tcpdump 3.4
PR: bin/7877
Diffstat (limited to 'contrib/tcpdump/print-bootp.c')
-rw-r--r-- | contrib/tcpdump/print-bootp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/tcpdump/print-bootp.c b/contrib/tcpdump/print-bootp.c index 425c11c..c9eb72b 100644 --- a/contrib/tcpdump/print-bootp.c +++ b/contrib/tcpdump/print-bootp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 + * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -22,7 +22,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: print-bootp.c,v 1.43 96/09/26 23:36:42 leres Exp $ (LBL)"; + "@(#) $Header: print-bootp.c,v 1.46 98/07/18 13:33:58 leres Exp $ (LBL)"; #endif #include <sys/param.h> @@ -39,6 +39,9 @@ struct rtentry; #include <net/ethernet.h> #include <ctype.h> +#ifdef HAVE_MEMORY_H +#include <memory.h> +#endif #include <stdio.h> #include <string.h> @@ -145,6 +148,7 @@ bootp_print(register const u_char *cp, u_int length, fputs(tstr + 1, stdout); return; } + putchar('"'); } TCHECK2(bp->bp_sname[0], 1); /* check first char only */ if (*bp->bp_file) { @@ -154,6 +158,7 @@ bootp_print(register const u_char *cp, u_int length, fputs(tstr + 1, stdout); return; } + putchar('"'); } /* Decode the vendor buffer */ |