iproute2 uses via, not gw

This commit is contained in:
Roy Marples 2007-12-31 09:26:53 +00:00
parent 409e73bc29
commit 0a28d69413

View File

@ -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