From cae102ae0c2ff934c456cd584cbf87a33cd95206 Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Tue, 11 Sep 2012 13:56:55 +0200 Subject: make "ipv6 ifconfig" on linux compatible with busybox ifconfig We used to call "ifconfig tun0 inet6 add...". The "inet6" part is optional, and not understood by busybox. So now we call "ifconfig tun0 add ...", which works on all supported Linux variants. Tested on Gentoo, RHEL5+, Debian Lenny & up. Signed-off-by: Gert Doering Acked-by: David Sommerseth Message-Id: 1347364615-26878-1-git-send-email-gert@greenie.muc.de URL: http://article.gmane.org/gmane.network.openvpn.devel/7052 Signed-off-by: David Sommerseth --- src/openvpn/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 3d60857..4b0365d 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -760,7 +760,7 @@ do_ifconfig (struct tuntap *tt, if ( do_ipv6 ) { argv_printf (&argv, - "%s %s inet6 add %s/%d", + "%s %s add %s/%d", IFCONFIG_PATH, actual, ifconfig_ipv6_local, -- cgit