From a888f0801ee2e07bbec60596e3b77b00c8c07c8a Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Tue, 11 Sep 2012 18:13:31 +0000 Subject: [PATCH] [packages/openvpn] fix changing ipv6 settings with busybox's ifconfig The OpenVPN call to busybox's ifconfig in order to change interface configurations is incompatible when used in conjunction with IPv6. Busybox's ifconfig doesn't know about the 'inet6' parameter, so just skip it. The new call is still compatible to the usual ifconfig provided by the net-tools package. Thanks to Gert Doering and Joachim Schlipper! SVN-Revision: 33375 --- .../000-busybox-ifconfig-ipv6-compatible.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/openvpn-devel/patches/000-busybox-ifconfig-ipv6-compatible.patch diff --git a/net/openvpn-devel/patches/000-busybox-ifconfig-ipv6-compatible.patch b/net/openvpn-devel/patches/000-busybox-ifconfig-ipv6-compatible.patch new file mode 100644 index 0000000000..5aa431215a --- /dev/null +++ b/net/openvpn-devel/patches/000-busybox-ifconfig-ipv6-compatible.patch @@ -0,0 +1,12 @@ +diff -Naur old/src/openvpn/tun.c new/src/openvpn/tun.c +--- old/src/openvpn/tun.c 2012-09-11 11:02:41.000000000 +0200 ++++ new/src/openvpn/tun.c 2012-09-11 12:27:30.304436864 +0200 +@@ -760,7 +760,7 @@ + if ( do_ipv6 ) + { + argv_printf (&argv, +- "%s %s inet6 add %s/%d", ++ "%s %s add %s/%d", + IFCONFIG_PATH, + actual, + ifconfig_ipv6_local, -- 2.30.2