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 e10f6015f90d00e414e7f6eba7e54ada800a4676..de1961d8e3779760bca0edfb68b0671cc455d9e3 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() {