proto-shell: for default routes push a string instead of an integer as netmask
authorFelix Fietkau <nbd@openwrt.org>
Fri, 14 Oct 2011 00:44:19 +0000 (02:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 14 Oct 2011 00:44:19 +0000 (02:44 +0200)
dummy/netifd-proto.sh

index 48b1292..e10f601 100755 (executable)
@@ -110,7 +110,7 @@ _proto_push_route() {
 
        json_add_table ""
        json_add_string target "$target"
-       json_add_integer mask "$mask"
+       json_add_string mask "$mask"
        json_add_string gateway "$gw"
        json_close_table
 }