summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ike_aggressive.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:37:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:37:16 +0000
commitf49279cdf071a5ab367e1553a8119d25cc269cee (patch)
tree09b035c863c017f909d34e4e70297f28b05c5534 /sbin/isakmpd/ike_aggressive.c
parent415403bc073db310bf8ad65abed26f6253c78c3c (diff)
nat-traversal always
Diffstat (limited to 'sbin/isakmpd/ike_aggressive.c')
-rw-r--r--sbin/isakmpd/ike_aggressive.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/isakmpd/ike_aggressive.c b/sbin/isakmpd/ike_aggressive.c
index 48ec10f6f25..5a851c4064b 100644
--- a/sbin/isakmpd/ike_aggressive.c
+++ b/sbin/isakmpd/ike_aggressive.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_aggressive.c,v 1.8 2004/07/29 08:54:08 ho Exp $ */
+/* $OpenBSD: ike_aggressive.c,v 1.9 2005/04/08 16:37:14 deraadt Exp $ */
/* $EOM: ike_aggressive.c,v 1.4 2000/01/31 22:33:45 niklas Exp $ */
/*
@@ -54,9 +54,7 @@
#include "log.h"
#include "math_group.h"
#include "message.h"
-#if defined (USE_NAT_TRAVERSAL)
#include "nat_traversal.h"
-#endif
#include "prf.h"
#include "sa.h"
#include "transport.h"
@@ -175,10 +173,8 @@ responder_recv_AUTH(struct message *msg)
if (ike_phase_1_recv_AUTH(msg))
return -1;
-#if defined (USE_NAT_TRAVERSAL)
/* Aggressive: Check for NAT-D payloads and contents. */
if (msg->exchange->flags & EXCHANGE_FLAG_NAT_T_CAP_PEER)
(void)nat_t_exchange_check_nat_d(msg);
-#endif
return 0;
}