]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgp: garbage "neighbor (af 54816) remote-as internal" peer in show run
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 17 May 2017 00:01:23 +0000 (00:01 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 17 May 2017 00:01:23 +0000 (00:01 +0000)
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
bgpd/bgp_vty.c

index f163fef712af95a1eadfd3a9101894584491d47d..6f330b0d03c5aa323c8cf8c36549eae43eaa54a2 100644 (file)
@@ -2875,7 +2875,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
     {