Signed-off-by: Alexander Couzens <lyn...@fe80.eu>
---
 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 447f0f6..1cbf4fb 100644
--- a/scripts/netifd-proto.sh
+++ b/scripts/netifd-proto.sh
@@ -122,8 +122,9 @@ proto_add_ipv4_route() {
        local gw="$3"
        local source="$4"
        local metric="$5"
+       local table="$6"
 
-       append PROTO_ROUTE "$target/$mask/$gw/$metric///$source"
+       append PROTO_ROUTE "$target/$mask/$gw/$metric//$table/$source"
 }
 
 proto_add_ipv6_route() {
-- 
2.5.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to