summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-09-17 13:45:03 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-09-17 13:45:03 +0000
commit6dcec3a3fad6b5b8b2340fd39108e65d27ff966f (patch)
tree8010db446216fd431ccfb149a0349ac819ce8afc /sbin/isakmpd
parentbad1e1c33ef5b5277eab54bdcbcf88d531d7418f (diff)
Permit next payload type NAT-OA. Noted by Kamel Messaoudi.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/message.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 8ab01fe5fa5..7d23cbaef96 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.88 2004/08/17 14:48:23 hshoexer Exp $ */
+/* $OpenBSD: message.c,v 1.89 2004/09/17 13:45:02 ho Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -347,7 +347,8 @@ message_parse_payloads(struct message *msg, struct payload *p, u_int8_t next,
}
/* Ignore most private payloads. */
if (next >= ISAKMP_PAYLOAD_PRIVATE_MIN &&
- next != ISAKMP_PAYLOAD_NAT_D) {
+ next != ISAKMP_PAYLOAD_NAT_D &&
+ next != ISAKMP_PAYLOAD_NAT_OA) {
LOG_DBG((LOG_MESSAGE, 30, "message_parse_payloads: "
"private next payload type %s in payload of "
"type %d ignored",