diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2004-12-14 19:03:17 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2004-12-14 19:03:17 +0000 |
commit | b8a09c540ff15376e18ac6082748b8ff84f47409 (patch) | |
tree | c2d25a9a07e7272cb558380323c4d7ab2abaa6a8 /sbin/isakmpd/message.c | |
parent | cf921c2bb117bc30e70762b7c14a469ec1d7d41b (diff) |
Reword comment a bit for clarity. hshoexer@ ok.
Diffstat (limited to 'sbin/isakmpd/message.c')
-rw-r--r-- | sbin/isakmpd/message.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index 204565c2c86..21f41d71cc1 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.91 2004/12/10 09:00:48 markus Exp $ */ +/* $OpenBSD: message.c,v 1.92 2004/12/14 19:03:16 ho Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -1456,8 +1456,9 @@ message_recv(struct message *msg) } #if defined (USE_NAT_TRAVERSAL) /* - * Update the isakmp transport, but only in phase 1, - * since phase 2 SAs might use this transport + * NAT-T may have switched ports for us. We need to replace the + * old ISAKMP SA transport here with one that contains the proper + * (i.e translated) ports. */ if (msg->isakmp_sa && msg->exchange->phase == 1) { t = msg->isakmp_sa->transport; |