summaryrefslogtreecommitdiffstats
path: root/src/openvpn/options.c
diff options
context:
space:
mode:
authorHolger Kummert <Holger.Kummert@Sophos.com>2015-06-25 18:01:20 +0200
committerGert Doering <gert@greenie.muc.de>2015-06-26 21:41:56 +0200
commit40e6c586124e6d7a764b859dad8515998c89c693 (patch)
tree76dea07b06aa524196e7ab4169ca43990311712b /src/openvpn/options.c
parentbce656d27fe06ed364a4acebd3c3d6d996750613 (diff)
downloadopenvpn-40e6c586124e6d7a764b859dad8515998c89c693.tar.gz
openvpn-40e6c586124e6d7a764b859dad8515998c89c693.tar.xz
openvpn-40e6c586124e6d7a764b859dad8515998c89c693.zip
Del ipv6 addr on close of linux tun interface
When a linux tun interface is closed (e.g. on disconnect) an optional ipv6 addr that was previously set is deleted now. Without this patch a later reconnect could fail with 'Linux ip -6 addr add failed: external program exited with error status: 2' and openvpn would exit. This is mainly relevant for persistant tun devices (staying around after openvpn exits) but can also happen at reconnect. If addresses are *supposed* to stay around on openvpn exit, run openvpn with --ifconfig-noexec and configure IPv4/IPv6 addresses manually before openvpn starts (or using an --up script). Trac #141 Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1435248080-12670-1-git-send-email-Holger.Kummert@Sophos.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/9810 Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit e5f71d674e3b119d6a252d7cef1c17b5c2b36a9a)
Diffstat (limited to 'src/openvpn/options.c')
0 files changed, 0 insertions, 0 deletions