proto-shell: for default routes push a string instead of an integer as netmask
[project/netifd.git] / 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
 }