diff options
author | Gert Doering <gert@greenie.muc.de> | 2012-09-11 13:56:55 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-09-11 19:00:12 +0200 |
commit | cae102ae0c2ff934c456cd584cbf87a33cd95206 (patch) | |
tree | b8446a756f3f1f8cab1b3c53bc1ff92a556a0729 | |
parent | 6dad4f8e924086333d32122432f316a17ae67987 (diff) | |
download | openvpn-cae102ae0c2ff934c456cd584cbf87a33cd95206.tar.gz openvpn-cae102ae0c2ff934c456cd584cbf87a33cd95206.tar.xz openvpn-cae102ae0c2ff934c456cd584cbf87a33cd95206.zip |
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 <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
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 <davids@redhat.com>
-rw-r--r-- | src/openvpn/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |