jsoninfo: remove a derived field from the /config output
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 22 Mar 2016 15:33:36 +0000 (16:33 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 22 Mar 2016 15:33:49 +0000 (16:33 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index cc248eb..a6ba0a4 100644 (file)
@@ -929,7 +929,6 @@ void ipc_print_config(struct autobuf *abuf) {
   abuf_json_mark_object(true, false, abuf, "bandwidth");
   abuf_json_int(abuf, "uplinkKbps", olsr_cnf->smart_gw_uplink);
   abuf_json_int(abuf, "downlinkKbps", olsr_cnf->smart_gw_downlink);
-  abuf_json_boolean(abuf, "bandwidthZero", olsr_cnf->smart_gateway_bandwidth_zero);
   abuf_json_mark_object(false, false, abuf, NULL);
 
   abuf_json_mark_object(true, false, abuf, "prefix");