diff options
-rw-r--r-- | scripts/netifd-proto.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index 999bd68..ce60cd0 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -121,8 +121,9 @@ proto_add_ipv4_route() { local mask="$2" local gw="$3" local source="$4" + local metric="$5" - append PROTO_ROUTE "$target/$mask/$gw////$source" + append PROTO_ROUTE "$target/$mask/$gw/$metric///$source" } proto_add_ipv6_route() { |