summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2007-01-08 21:29:36 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2007-01-08 21:29:36 +0000
commit95f0e50c5d8b0335de1dd47a1338f8693bef779d (patch)
treef0f0a741c89a4f336d647c65644a3df2f4f21783 /usr.sbin/tcpdump
parentd2a88ab3b0308a674c3609dab5a1c649a213d4b6 (diff)
c should be u_char for printing option numbers. fix parameter request
list option numbers >127 being negative. ok krw@
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-bootp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-bootp.c b/usr.sbin/tcpdump/print-bootp.c
index 4e3102aa166..14498d2eb40 100644
--- a/usr.sbin/tcpdump/print-bootp.c
+++ b/usr.sbin/tcpdump/print-bootp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-bootp.c,v 1.14 2006/05/21 11:17:20 canacar Exp $ */
+/* $OpenBSD: print-bootp.c,v 1.15 2007/01/08 21:29:35 stevesk Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -24,7 +24,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-bootp.c,v 1.14 2006/05/21 11:17:20 canacar Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-bootp.c,v 1.15 2007/01/08 21:29:35 stevesk Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -273,7 +273,7 @@ rfc1048_print(register const u_char *bp, register u_int length)
register u_char tag;
register u_int len, size;
register const char *cp;
- register char c;
+ register u_char c;
int first;
u_int32_t ul;
u_short us;