jsoninfo: minor improvement to /2hop
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 7 Mar 2016 09:29:28 +0000 (10:29 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 7 Mar 2016 19:50:17 +0000 (20:50 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index bfb3e50..d737db5 100644 (file)
@@ -246,7 +246,7 @@ static void ipc_print_neighbors_internal(struct autobuf *abuf, bool list_2hop) {
     }
 
     if (list_2hop) {
-      abuf_json_mark_object(false, true, abuf, false);
+      abuf_json_mark_object(false, true, abuf, NULL);
     }
     abuf_json_int(abuf, "twoHopNeighborCount", thop_cnt);