iproute2 uses via, not gw
This commit is contained in:
parent
409e73bc29
commit
0a28d69413
@ -144,7 +144,7 @@ _add_route() {
|
|||||||
elif [ "$3" = "gw" ]; then
|
elif [ "$3" = "gw" ]; then
|
||||||
local one=$1 two=$2
|
local one=$1 two=$2
|
||||||
shift; shift; shift
|
shift; shift; shift
|
||||||
set -- "${one}" "${two}" gw "$@"
|
set -- "${one}" "${two}" via "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local cmd= have_metric=false
|
local cmd= have_metric=false
|
||||||
|
Loading…
Reference in New Issue
Block a user