add missing argument for ipv4 routes
authorSteven Barth <steven@midlink.org>
Thu, 19 Mar 2015 17:30:02 +0000 (18:30 +0100)
committerSteven Barth <steven@midlink.org>
Thu, 19 Mar 2015 17:30:02 +0000 (18:30 +0100)
Signed-off-by: Steven Barth <steven@midlink.org>
scripts/netifd-proto.sh

index b3d5bb5478cb24d85dac5bad90e2eda3b6b9cec7..2a62bda8e213e71fa641866cafdace9585c127f4 100644 (file)
@@ -122,7 +122,7 @@ proto_add_ipv4_route() {
        local gw="$3"
        local source="$4"
 
-       append PROTO_ROUTE "$target/$mask/$gw///$source"
+       append PROTO_ROUTE "$target/$mask/$gw///$source/"
 }
 
 proto_add_ipv6_route() {