use json_close_object instead of json_close_table
[project/netifd.git] / dummy / netifd-proto.sh
index e10f601..de1961d 100755 (executable)
@@ -112,7 +112,7 @@ _proto_push_route() {
        json_add_string target "$target"
        json_add_string mask "$mask"
        json_add_string gateway "$gw"
-       json_close_table
+       json_close_object
 }
 
 _proto_push_array() {