]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: improve error message for neighbor not found
authorDon Slice <dslice@cumulusnetworks.com>
Wed, 23 May 2018 12:09:59 +0000 (08:09 -0400)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 24 May 2018 14:51:17 +0000 (10:51 -0400)
commit88b7d2555c577a9ba947f3043a33cdf6b90776a7
tree77898c6e263a3dcd12377f5d58bb1a3a6a3617aa
parent19300af8f26be3b34041f90944c6fc07ad138fe1
bgpd: improve error message for neighbor not found

Problem reported due to tab completion showing all possible peers
in every vrf, but when neighbor in wrong vrf entered "no such
neighbor" is the error message.  Making it slightly more clear
with "no such neighbor in the view/vrf" to clue the user that they
may have specified the wrong vrf.

Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c