diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2004-09-17 13:45:03 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2004-09-17 13:45:03 +0000 |
commit | 6dcec3a3fad6b5b8b2340fd39108e65d27ff966f (patch) | |
tree | 8010db446216fd431ccfb149a0349ac819ce8afc /sbin/isakmpd | |
parent | bad1e1c33ef5b5277eab54bdcbcf88d531d7418f (diff) |
Permit next payload type NAT-OA. Noted by Kamel Messaoudi.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/message.c | 5 |
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", |