diff options
Diffstat (limited to 'net.Linux/iproute2.sh')
-rw-r--r-- | net.Linux/iproute2.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh index 2c02b40d..30206d03 100644 --- a/net.Linux/iproute2.sh +++ b/net.Linux/iproute2.sh @@ -118,9 +118,8 @@ _add_route() { case "$1" in metric) cmd="${cmd} $1"; have_metric=true ;; netmask) cmd="${cmd}/$(_netmask2cidr "$2")"; shift ;; - -net) ;; + -host|-net) ;; -A) [ "$2" = "inet6" ] && shift ;; - -host) cmd="${cmd} scope host" ;; *) cmd="${cmd} $1" ;; esac shift |