From 6dcec3a3fad6b5b8b2340fd39108e65d27ff966f Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Fri, 17 Sep 2004 13:45:03 +0000 Subject: Permit next payload type NAT-OA. Noted by Kamel Messaoudi. --- sbin/isakmpd/message.c | 5 +++-- 1 file 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", -- cgit v1.2.3