summaryrefslogtreecommitdiffstats
path: root/sample/sample-plugins
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2012-06-10 17:41:30 +0200
committerDavid Sommerseth <davids@redhat.com>2012-06-13 12:20:01 +0200
commitff9c39b6c9360fba14693ab5048567599ea5a38f (patch)
treec97885192d2230e8cf443a4898d4eef13cb88d9d /sample/sample-plugins
parenta9af3ca44e335716c1aab46d6702cf3530e3bb73 (diff)
Add missing pieces to IPv6 route gateway handling.
OpenVPN on Linux (iproute2+ifconfig), FreeBSD and MacOS X (Darwin) normally points routes directly towards the "tun" interface, obviating the need for a gateway. For "tap" interfaces, now add gateway spec to linux route command, and replace "-iface <dev>" with gateway spec (both together do not work) on FreeBSD and MacOS X. Also adapt "route delete" appropriately, otherwise route will not be found. All other platforms already use the gateway address for tun and tap, because there's no way to install a route "towards an interface" there. Remove warning about missing IPv6 route gateway handling. Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1339342891-28443-5-git-send-email-gert@greenie.muc.de URL: http://article.gmane.org/gmane.network.openvpn.devel/6712 Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'sample/sample-plugins')
0 files changed, 0 insertions, 0 deletions