summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/isakmp_cfg.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-07-04 07:29:11 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-07-04 07:29:11 +0000
commit7cd0b01eadeb3ed378f30e75aa03063fa8490caa (patch)
tree1c3a9f4580b5b5d55897f6678b3a83a56ab757cd /sbin/isakmpd/isakmp_cfg.c
parentdf09141402c86b60610b0de9b60eded567eaab9c (diff)
IPv6
Diffstat (limited to 'sbin/isakmpd/isakmp_cfg.c')
-rw-r--r--sbin/isakmpd/isakmp_cfg.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sbin/isakmpd/isakmp_cfg.c b/sbin/isakmpd/isakmp_cfg.c
index a5ef6c3677a..89cc6c3ada5 100644
--- a/sbin/isakmpd/isakmp_cfg.c
+++ b/sbin/isakmpd/isakmp_cfg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isakmp_cfg.c,v 1.1 2001/07/01 20:43:39 niklas Exp $ */
+/* $OpenBSD: isakmp_cfg.c,v 1.2 2001/07/04 07:29:10 niklas Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist. All rights reserved.
@@ -309,11 +309,9 @@ responder_send_ATTR (struct message *msg)
break;
case ISAKMP_CFG_ATTR_SUPPORTED_ATTRIBUTES:
- /* XXX 2 * 6 more when IPv6 is supported. */
- attr->length = 2 * 9;
+ attr->length = 2 * 15;
break;
-#if 0
case ISAKMP_CFG_ATTR_INTERNAL_IP6_ADDRESS:
case ISAKMP_CFG_ATTR_INTERNAL_IP6_NETMASK:
case ISAKMP_CFG_ATTR_INTERNAL_IP6_DHCP:
@@ -325,7 +323,6 @@ responder_send_ATTR (struct message *msg)
case ISAKMP_CFG_ATTR_INTERNAL_IP6_SUBNET:
attr->length = 17;
break;
-#endif
default:
attr->ignore++;
@@ -428,7 +425,6 @@ responder_send_ATTR (struct message *msg)
case ISAKMP_CFG_ATTR_SUPPORTED_ATTRIBUTES:
break;
-#if 0
case ISAKMP_CFG_ATTR_INTERNAL_IP6_ADDRESS:
break;
@@ -446,7 +442,6 @@ responder_send_ATTR (struct message *msg)
case ISAKMP_CFG_ATTR_INTERNAL_IP6_NBNS:
break;
-#endif
default:
}