Re: [Openvpn-devel] [PATCH] grow route lists dynamically

2014-02-18 Thread Heiko Hund
Hi Arne On Monday 17 February 2014 19:49:49 Arne Schwabe wrote: > ACK but with two changes > > - adding a comment to the copy method that this does a shallow copy with > two lists with the same tail > - struct route* next should be struct route_ipv4 *next in the route_ipv4 > struct. Thanks for t

Re: [Openvpn-devel] [PATCH] grow route lists dynamically

2014-02-17 Thread Arne Schwabe
Am 29.01.14 14:03, schrieb Heiko Hund: > This removes the need for the --max-routes option. Instead of > allocating a fixed size array for the route(-option)s they are > managed in linked lists instead. > > ACK but with two changes - adding a comment to the copy method that this does a shallow cop

[Openvpn-devel] [PATCH] grow route lists dynamically

2014-01-29 Thread Heiko Hund
This removes the need for the --max-routes option. Instead of allocating a fixed size array for the route(-option)s they are managed in linked lists instead. Signed-off-by: Heiko Hund --- src/openvpn/init.c|4 +- src/openvpn/options.c | 33 ++- src/openvpn/options.h |3 +- src/