From 8b59a4b1e9470fe332ac6f31a5e39bf64e957f1e Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Mon, 21 Mar 2016 15:18:17 +0100 Subject: [PATCH] jsoninfo: in /config rename sgw weight section to costsCalculation Signed-off-by: Ferry Huberts --- lib/jsoninfo/src/olsrd_jsoninfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c index a7756364..cc248eb3 100644 --- a/lib/jsoninfo/src/olsrd_jsoninfo.c +++ b/lib/jsoninfo/src/olsrd_jsoninfo.c @@ -916,7 +916,7 @@ void ipc_print_config(struct autobuf *abuf) { abuf_json_int(abuf, "stableCount", olsr_cnf->smart_gw_stablecount); abuf_json_int(abuf, "threshold", olsr_cnf->smart_gw_thresh); - abuf_json_mark_object(true, false, abuf, "weight"); + abuf_json_mark_object(true, false, abuf, "costsCalculation"); abuf_json_int(abuf, "exitLinkUp", olsr_cnf->smart_gw_weight_exitlink_up); abuf_json_int(abuf, "exitLinkDown", olsr_cnf->smart_gw_weight_exitlink_down); abuf_json_int(abuf, "etx", olsr_cnf->smart_gw_weight_etx); -- 2.20.1