summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-03-22 17:28:00 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-03-22 17:28:00 +0000
commitb2d35bcfb0d6b0848d64cfcbb7d4f3b03a039ee5 (patch)
tree73687ac8daa57414df1c017547a85baca3dba49e /sbin/isakmpd
parentaa143c5d97c7073734423303e4c620db67d3e778 (diff)
Compile when nat_traversal is disabled.
OK hshoexer
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/isakmpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c
index 684161ae284..72f8e489ff6 100644
--- a/sbin/isakmpd/isakmpd.c
+++ b/sbin/isakmpd/isakmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isakmpd.c,v 1.73 2005/02/27 13:12:12 hshoexer Exp $ */
+/* $OpenBSD: isakmpd.c,v 1.74 2005/03/22 17:27:59 cloder Exp $ */
/* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */
/*
@@ -191,9 +191,11 @@ parse_args(int argc, char *argv[])
app_none++;
break;
+#ifdef USE_NAT_TRAVERSAL
case 'N':
udp_encap_default_port = optarg;
break;
+#endif
case 'p':
udp_default_port = optarg;