summaryrefslogtreecommitdiff
path: root/net.Linux/iproute2.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-31 09:26:53 +0000
committerRoy Marples <roy@marples.name>2007-12-31 09:26:53 +0000
commit0a28d694134254b02760b7ca52a303eddbcaa2da (patch)
treee2eef955dc3be04dcc30f1c68908116c7fdccd61 /net.Linux/iproute2.sh
parent409e73bc29e31f9498aa76998b3763e219943c01 (diff)
downloadopenrc-0a28d694134254b02760b7ca52a303eddbcaa2da.tar.gz
openrc-0a28d694134254b02760b7ca52a303eddbcaa2da.tar.bz2
openrc-0a28d694134254b02760b7ca52a303eddbcaa2da.tar.xz
iproute2 uses via, not gw
Diffstat (limited to 'net.Linux/iproute2.sh')
-rw-r--r--net.Linux/iproute2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/iproute2.sh b/net.Linux/iproute2.sh
index ca9c156..3fc8620 100644
--- a/net.Linux/iproute2.sh
+++ b/net.Linux/iproute2.sh
@@ -144,7 +144,7 @@ _add_route() {
elif [ "$3" = "gw" ]; then
local one=$1 two=$2
shift; shift; shift
- set -- "${one}" "${two}" gw "$@"
+ set -- "${one}" "${two}" via "$@"
fi
local cmd= have_metric=false