From a8ab9d63f5ea41a1e5821e22ae95f9fa92b96e4d Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Fri, 21 Dec 2012 16:36:20 -0600 Subject: ifconfig.sh.Linux.in: fix ipv6 routes and default route Do not add -net or -host to ipv6 routes or to the default route when using route from net-tools. X-Gentoo-Bug: 442594 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=442594 --- net/ifconfig.sh.Linux.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 19e5c35..2afa66c 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -209,7 +209,7 @@ _add_route() fi case "$@" in - *:*) [ "$1" = "-net" ] && shift;; + *:*|default*) [ "$1" = "-net" -o "$1" = "-host" ] && shift;; esac route ${family} add "$@" dev "${IFACE}" -- cgit v1.2.3