summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/print-ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-ppp.c')
-rw-r--r--usr.sbin/tcpdump/print-ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ppp.c b/usr.sbin/tcpdump/print-ppp.c
index 7654d538938..ed354151af3 100644
--- a/usr.sbin/tcpdump/print-ppp.c
+++ b/usr.sbin/tcpdump/print-ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ppp.c,v 1.21 2009/10/27 23:59:55 deraadt Exp $ */
+/* $OpenBSD: print-ppp.c,v 1.22 2009/11/12 00:02:16 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -325,7 +325,7 @@ print_lcp_config_options(p)
int len = *(p+1);
int opt = *p;
- if((opt >= LCPOPT_MIN) && (opt <= LCPOPT_MAX))
+ if((opt >= LCPOPT_MIN) && (opt < LCPOPT_MAX))
printf(", %s", lcpconfopts[opt]);
switch(opt) {