]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix installation of IPv6 host route to VPN server when using iservice.
authorGert Doering <gert@greenie.muc.de>
Sun, 19 Mar 2017 19:10:49 +0000 (20:10 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 20 Mar 2017 17:45:38 +0000 (18:45 +0100)
commit27740b376c1ca89a43dcff5c8309f1e1afecc5c9
tree5538357c9b5f0374d718b53d8019fa6a1229c1d5
parenta87f119afcfcc1c855a6ea2ba3d765966f1f2591
Fix installation of IPv6 host route to VPN server when using iservice.

The "prepare IPv6 route message to interactive service" was properly
handing the correct interface index (r->adapter_index) for this case,
but then always overwrote the gateway address with our magic tun/tap
fe80::8 value.  Only do this for "on tap adapter" routes.

Pinpointed by Selva Nair.

Trac #850

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20170319191049.23970-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14282.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c