jsoninfo: fix a typo in /config
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 24 Mar 2016 11:52:46 +0000 (12:52 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 24 Mar 2016 11:52:59 +0000 (12:52 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index a6ba0a4..eb7be2d 100644 (file)
@@ -814,7 +814,7 @@ void ipc_print_config(struct autobuf *abuf) {
   abuf_json_int(abuf, "tunnel", olsr_cnf->rt_table_tunnel);
   abuf_json_int(abuf, "priority", olsr_cnf->rt_table_pri);
   abuf_json_int(abuf, "tunnelPriority", olsr_cnf->rt_table_tunnel_pri);
-  abuf_json_int(abuf, "defauiltOlsrPriority", olsr_cnf->rt_table_defaultolsr_pri);
+  abuf_json_int(abuf, "defaultOlsrPriority", olsr_cnf->rt_table_defaultolsr_pri);
   abuf_json_int(abuf, "defaultPriority", olsr_cnf->rt_table_default_pri);
   abuf_json_mark_object(false, false, abuf, NULL);