From 0a28d694134254b02760b7ca52a303eddbcaa2da Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 31 Dec 2007 09:26:53 +0000 Subject: iproute2 uses via, not gw --- net.Linux/iproute2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.Linux/iproute2.sh') 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 -- cgit v1.2.3