Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb9c584
)
jsoninfo: in /config rename sgw weight section to costsCalculation
author
Ferry Huberts
<ferry.huberts@pelagic.nl>
Mon, 21 Mar 2016 14:18:17 +0000
(15:18 +0100)
committer
Ferry Huberts
<ferry.huberts@pelagic.nl>
Mon, 21 Mar 2016 14:18:28 +0000
(15:18 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c
patch
|
blob
|
history
diff --git
a/lib/jsoninfo/src/olsrd_jsoninfo.c
b/lib/jsoninfo/src/olsrd_jsoninfo.c
index
a775636
..
cc248eb
100644
(file)
--- 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);