mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 14:45:17 +00:00
Merge pull request #7001 from ton31337/fix/deadcode_bgp_show_all_instances_neighbors_vty
bgpd: Remove a deadcode freeing JSON in bgp_show_all_instances_neighbors_vty
This commit is contained in:
commit
ff35a11676
@ -12814,11 +12814,8 @@ static void bgp_show_all_instances_neighbors_vty(struct vty *vty,
|
|||||||
json = NULL;
|
json = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (use_json) {
|
if (use_json)
|
||||||
vty_out(vty, "}\n");
|
vty_out(vty, "}\n");
|
||||||
if (json)
|
|
||||||
json_object_free(json);
|
|
||||||
}
|
|
||||||
else if (!nbr_output)
|
else if (!nbr_output)
|
||||||
vty_out(vty, "%% BGP instance not found\n");
|
vty_out(vty, "%% BGP instance not found\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user