summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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