First, an overview of IPv6 pool and CIDR handling.
The handling of the --ifconfig-ipv6-pool `bits` CIDR netmask value seems to
need adjustment. Today, if this value does not exactly match the same CIDR
mask applied to --ifconfig-ipv6, clients connectivity breaks in odd ways.
I am proposing that w
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 IPv
No functional changes, just add missing includes and make casts explicit.
Signed-off-by: Steffan Karger
---
src/openvpn/ssl_polarssl.c | 26 +++---
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/openvpn/ssl_polarssl.c b/src/openvpn/ssl_polarssl.c
index dd