diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-07-04 07:29:11 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-07-04 07:29:11 +0000 |
commit | 7cd0b01eadeb3ed378f30e75aa03063fa8490caa (patch) | |
tree | 1c3a9f4580b5b5d55897f6678b3a83a56ab757cd /sbin | |
parent | df09141402c86b60610b0de9b60eded567eaab9c (diff) |
IPv6
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/isakmp_cfg.c | 9 |
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: } |