]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/options.h
Fix build-up of duplicate IPv6 routes on reconnect.
authorGert Doering <gert@mobile.greenie.muc.de>
Fri, 30 Dec 2011 20:08:49 +0000 (21:08 +0100)
committerDavid Sommerseth <davids@redhat.com>
Wed, 4 Jan 2012 10:46:49 +0000 (11:46 +0100)
commit9140223643f7d9bdfd2214304a7bd6ab4b662f97
tree1c89b6f77e8d6adc6970c457728b0e3b9612223b
parent1d5c4433cdb7ab0a9d9f7496e6dc2cee189d375f
Fix build-up of duplicate IPv6 routes on reconnect.

options.c: extend pre_pull_save() and pre_pull_restore() to
   save/restore options->routes_ipv6 as well
options.h: add routes_ipv6 to "struct options_pre_pull"
route.h, route.c: add clone_route_ipv6_option_list() and
   copy_route_ipv6_option_list() helper functions

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
options.c
options.h
route.c
route.h