summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-udp.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-03-10 18:17:42 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-03-10 18:17:42 +0000
commit22a7a9d54374d0fc8c6f089a9e12a22a3a94a350 (patch)
tree961b7144da0365adcd7aecdac6da318cbcff1956 /usr.sbin/tcpdump/print-udp.c
parentae6f92a95da5db18073f4a192e53ccad8965a1c9 (diff)
print IAPP messages for the old IAPP port 2313.
Diffstat (limited to 'usr.sbin/tcpdump/print-udp.c')
-rw-r--r--usr.sbin/tcpdump/print-udp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-udp.c b/usr.sbin/tcpdump/print-udp.c
index 52ee214e675..4755b5622d1 100644
--- a/usr.sbin/tcpdump/print-udp.c
+++ b/usr.sbin/tcpdump/print-udp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-udp.c,v 1.25 2005/11/22 11:36:12 reyk Exp $ */
+/* $OpenBSD: print-udp.c,v 1.26 2006/03/10 18:17:41 reyk Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-udp.c,v 1.25 2005/11/22 11:36:12 reyk Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-udp.c,v 1.26 2006/03/10 18:17:41 reyk Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -607,7 +607,7 @@ udp_print(register const u_char *bp, u_int length, register const u_char *bp2)
radius_print((const u_char *)(up + 1), length);
else if (dport == 3456)
vat_print((const void *)(up + 1), length, up);
- else if (ISPORT(IAPP_PORT))
+ else if (ISPORT(IAPP_PORT) || ISPORT(IAPP_OLD_PORT))
iapp_print((const u_char *)(up + 1), length);
#ifdef INET6
else if (ISPORT(RIPNG_PORT))