From e03844fd26cf5b6f01949e1c3ded14e5b4d812ec Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 9 Jul 2007 09:14:19 +0000 Subject: Fix iproute handling of -host and improve iwconfig scanning --- net.Linux/iproute2.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net.Linux/iproute2.sh') 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 -- cgit v1.2.3