]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Push an IPv6 CIDR mask used by the server, not the pool's size
authorJosh Cepek <josh.cepek@usa.net>
Mon, 18 Aug 2014 10:51:01 +0000 (05:51 -0500)
committerGert Doering <gert@greenie.muc.de>
Wed, 18 May 2016 06:25:42 +0000 (08:25 +0200)
commit0d8a4ffa2293dda8139189725a5c49fbe0eb500b
tree48b6e7717b89e49e38ddb4f256ecb718c3df0383
parent970312f185012341cc5bcc9492ab3e1413c7b3c7
Push an IPv6 CIDR mask used by the server, not the pool's size

Correctly handle CIDR masks when pushing clients addressing from an IPv6
pool. This change ignores the incorrectly used `bits` argument to the
--ifconfig-ipv6-pool option.

The code to save any provided CIDR mask after the pool IP is left in;
this may someday become useful when we move to allow IPv6 pools without
relying on an IPv4 pool assignment.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <53F1DA95.7020701@usa.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8990
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/openvpn.8
src/openvpn/multi.c