Re: [Openvpn-devel] [PATCH v4 7/7] ipv6-pool: get rid of size constraint

2020-06-08 Thread Antonio Quartulli
Hi, On 07/06/2020 12:59, Gert Doering wrote: > My idea would be to make this conditional on the pool size - if the size > is /64.../111, make it +0x1000 ("keep existing behaviour for large-enough > pools"), if it's /112.../124, make it +2 > > Thoughts? I think it makes sense, especially to

Re: [Openvpn-devel] [PATCH v4 7/7] ipv6-pool: get rid of size constraint

2020-06-07 Thread Gert Doering
Hi, On Sat, May 30, 2020 at 02:06:00AM +0200, Antonio Quartulli wrote: > o->ifconfig_ipv6_pool_defined = true; > -o->ifconfig_ipv6_pool_base = > -add_in6_addr( o->server_network_ipv6, 0x1000 ); > +o->ifconfig_ipv6_pool_base =

[Openvpn-devel] [PATCH v4 7/7] ipv6-pool: get rid of size constraint

2020-05-29 Thread Antonio Quartulli
Signed-off-by: Antonio Quartulli --- src/openvpn/helper.c | 7 +++ src/openvpn/options.c | 13 + src/openvpn/pool.c| 12 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/openvpn/helper.c b/src/openvpn/helper.c index 277e6972..2174b580 100644