summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-ike.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-12-18 09:14:19 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-12-18 09:14:19 +0000
commit455f4c4db1979d203380c14a8e5f8ddcc1ff4ff1 (patch)
tree8387e086a461af3ab5d68412266fa72f150849f3 /usr.sbin/tcpdump/print-ike.c
parent29e0a945d007bdb1cbef11d1e35846d6f4b63c64 (diff)
Recognize NAT-D and NAT-OA payloads. markus@ ok.
Diffstat (limited to 'usr.sbin/tcpdump/print-ike.c')
-rw-r--r--usr.sbin/tcpdump/print-ike.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ike.c b/usr.sbin/tcpdump/print-ike.c
index 29693478ea1..88ba2202a67 100644
--- a/usr.sbin/tcpdump/print-ike.c
+++ b/usr.sbin/tcpdump/print-ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-ike.c,v 1.15 2002/09/23 04:10:14 millert Exp $ */
+/* $OpenBSD: print-ike.c,v 1.16 2003/12/18 09:14:18 ho Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -29,7 +29,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ike.c,v 1.15 2002/09/23 04:10:14 millert Exp $ (XXX)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-ike.c,v 1.16 2003/12/18 09:14:18 ho Exp $ (XXX)";
#endif
#include <sys/param.h>
@@ -686,6 +686,10 @@ ike_pl_print (u_char type, u_char *buf, u_char doi)
ike_pl_attribute_print(buf+4, this_len);
break;
+ case PAYLOAD_NAT_D:
+ case PAYLOAD_NAT_OA:
+ break;
+
default:
break;
}