summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ifconfig.sh.Linux.in2
1 files changed, 1 insertions, 1 deletions
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}"