From 33429c18f64bfb3842b05d9eb86efbbdce7e909b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 31 Mar 2015 13:32:31 +0200 Subject: [PATCH] netifd: add metric argument for proto_add_ipv4_route Signed-off-by: Steven Barth --- scripts/netifd-proto.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- 2.25.1