diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2021-10-08 18:38:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 18:38:08 +0200 |
commit | 144908dc528c1cc89d576888dbacb1c4b1661457 (patch) | |
tree | 71c95b7db11f2d48f5ee3f1ef852be3beda526c7 /bgpd | |
parent | Merge pull request #9693 from donaldsharp/bgp_address_removal (diff) | |
parent | bgpd: fix crash when using "show bgp vrf all" (diff) | |
download | frr-144908dc528c1cc89d576888dbacb1c4b1661457.tar.xz frr-144908dc528c1cc89d576888dbacb1c4b1661457.zip |
Merge pull request #9774 from idryzhov/bgp-show-crash
bgpd: fix crash when using "show bgp vrf all"
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgpd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index bdf646f60..b191029d2 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -7884,8 +7884,7 @@ struct peer *peer_lookup_in_view(struct vty *vty, struct bgp *bgp, json_no, JSON_C_TO_STRING_PRETTY)); json_object_free(json_no); } else - vty_out(vty, "No such neighbor in %s\n", - bgp->name_pretty); + vty_out(vty, "No such neighbor in this view/vrf\n"); return NULL; } |