From 03014afd0377fb8957d9c87572c96a6096b14d45 Mon Sep 17 00:00:00 2001 From: fenner Date: Tue, 15 Sep 1998 19:46:59 +0000 Subject: Merge tcpdump 3.4 PR: bin/7877 --- contrib/tcpdump/print-bootp.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'contrib/tcpdump/print-bootp.c') 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 @@ -39,6 +39,9 @@ struct rtentry; #include #include +#ifdef HAVE_MEMORY_H +#include +#endif #include #include @@ -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 */ -- cgit v1.1