[cmaster-next] [PATCH 3/3] bgp: garbage "neighbor (af 54816) remote-as internal" peer in show run

Donald Sharp sharpd at cumulusnetworks.com
Wed Dec 14 16:04:01 EST 2016


From: Daniel Walton <dwalton at cumulusnetworks.com>

Signed-off-by: Daniel Walton <dwalton at cumulusnetworks.com>
Reviewed-by:   vivek at cumulusnetworks.com

Ticket: CM-14065
(cherry picked from commit 82e528daec27ca87323dab9e60d564b2a3cc0c40)
---
 bgpd/bgp_vty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 7def8eb..abfe9b8 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -2870,7 +2870,7 @@ peer_conf_interface_get (struct vty *vty, const char *conf_if, afi_t afi,
   if (peer)
     {
       if (as_str)
-        ret = peer_remote_as (bgp, &su, NULL, &as, as_type, afi, safi);
+        ret = peer_remote_as (bgp, &su, conf_if, &as, as_type, afi, safi);
     }
   else
     {
-- 
2.5.5





More information about the dev mailing list