X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=scripts%2Fnetifd-proto.sh;h=b5ef3d14e34505a6bdc7411daaa0365194532be3;hb=7ac29b75319fd69a8a7c0aeea7804d381ec07d3d;hp=ce316c42386d0cfa29b2dab9debb54c1afb69c37;hpb=3d317e90f15eec480b23f4dcddb841c292bef690;p=project%2Fnetifd.git diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index ce316c4..b5ef3d1 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -120,8 +120,9 @@ proto_add_ipv4_route() { local target="$1" local mask="$2" local gw="$3" + local source="$4" - append PROTO_ROUTE "$target/$mask/$gw//" + append PROTO_ROUTE "$target/$mask/$gw///$source" } proto_add_ipv6_route() {