summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2021-10-08 18:38:08 +0200
committerGitHub <noreply@github.com>2021-10-08 18:38:08 +0200
commit144908dc528c1cc89d576888dbacb1c4b1661457 (patch)
tree71c95b7db11f2d48f5ee3f1ef852be3beda526c7 /bgpd
parentMerge pull request #9693 from donaldsharp/bgp_address_removal (diff)
parentbgpd: fix crash when using "show bgp vrf all" (diff)
downloadfrr-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.c3
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;
}