summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2006-11-21 13:41:04 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2006-11-21 13:41:04 +0000
commit0d512e4aa59888c5d5474fa4c56295475a44379f (patch)
treef68474238b01116d4d9583a5de63fc96aa41565b
parent6d50e474de7934d6d11036de096712702e64ab64 (diff)
try udpencap before ike; ok hshoexer
-rw-r--r--usr.sbin/tcpdump/print-udp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-udp.c b/usr.sbin/tcpdump/print-udp.c
index e7c44cd7ae7..1266da17427 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.28 2006/05/31 01:49:17 stevesk Exp $ */
+/* $OpenBSD: print-udp.c,v 1.29 2006/11/21 13:41:03 markus 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.28 2006/05/31 01:49:17 stevesk Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-udp.c,v 1.29 2006/11/21 13:41:03 markus Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -591,10 +591,10 @@ udp_print(register const u_char *bp, u_int length, register const u_char *bp2)
krb_print((const void *)(up + 1), length);
else if (ISPORT(L2TP_PORT))
l2tp_print((const u_char *)(up + 1), length);
- else if (ISPORT(ISAKMP_PORT))
- ike_print((const u_char *)(up + 1), length);
else if (ISPORT(UDPENCAP_PORT))
udpencap_print((const u_char *)(up + 1), length, bp2);
+ else if (ISPORT(ISAKMP_PORT))
+ ike_print((const u_char *)(up + 1), length);
#if 0
else if (ISPORT(NETBIOS_NS_PORT))
nbt_udp137_print((const u_char *)(up + 1), length);