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
This commit is contained in:
parent
2b0ff6f669
commit
a8ab9d63f5
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user