summaryrefslogtreecommitdiffstats
path: root/bfdd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-11-07 00:40:07 +0100
committerGitHub <noreply@github.com>2020-11-07 00:40:07 +0100
commit3bb43118eca5649d7e0d7df78f0b59822fe86ce5 (patch)
tree733c83a236bc5a0c60b992232c8fcdabe0d56e0d /bfdd
parentMerge pull request #7385 from opensourcerouting/isisd-prefix-sid-collision (diff)
parentbfdd: fix crash on show bfd peers counters json (diff)
downloadfrr-3bb43118eca5649d7e0d7df78f0b59822fe86ce5.tar.xz
frr-3bb43118eca5649d7e0d7df78f0b59822fe86ce5.zip
Merge pull request #7473 from eololab/fix-crash-bfdd-show-counters-json
bfdd: fix crash on show bfd peers counters json
Diffstat (limited to 'bfdd')
-rw-r--r--bfdd/bfdd_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c
index a3f1638e5..837a7b7d7 100644
--- a/bfdd/bfdd_vty.c
+++ b/bfdd/bfdd_vty.c
@@ -447,7 +447,7 @@ static void _display_peers_counter(struct vty *vty, char *vrfname, bool use_json
jo = json_object_new_array();
bvt.jo = jo;
- bfd_id_iterate(_display_peer_counter_json_iter, jo);
+ bfd_id_iterate(_display_peer_counter_json_iter, &bvt);
vty_out(vty, "%s\n", json_object_to_json_string_ext(jo, 0));
json_object_free(jo);