use json_close_object instead of json_close_table
authorFelix Fietkau <nbd@openwrt.org>
Fri, 14 Oct 2011 00:46:31 +0000 (02:46 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 14 Oct 2011 00:46:31 +0000 (02:46 +0200)
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() {