Skip to content

Commit

Permalink
Merge pull request #15719 from pguibert6WIND/show_bgp_neighbors_extra…
Browse files Browse the repository at this point in the history
…_line

bgpd: fix 'show bgp neighbors' output
  • Loading branch information
ton31337 authored Apr 11, 2024
2 parents 3d3f968 + 34738e3 commit 1596d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgpd/bgp_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -12750,7 +12750,7 @@ static void bgp_show_neighbor_graceful_restart_remote_mode(struct vty *vty,
if (json)
json_object_string_add(json, "remoteGrMode", mode);
else
vty_out(vty, "%s\n", mode);
vty_out(vty, "%s", mode);
}

static void bgp_show_neighbor_graceful_restart_local_mode(struct vty *vty,
Expand Down Expand Up @@ -12782,7 +12782,7 @@ static void bgp_show_neighbor_graceful_restart_local_mode(struct vty *vty,
if (json)
json_object_string_add(json, "localGrMode", mode);
else
vty_out(vty, "%s\n", mode);
vty_out(vty, "%s", mode);
}

static void bgp_show_neighbor_graceful_restart_capability_per_afi_safi(
Expand Down

0 comments on commit 1596d99

Please sign in to comment.