summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2015-10-21 12:28:28 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2015-10-21 12:28:28 +0000
commitff40e335bbbed5e4fb36536d0c7cecf3edbb330e (patch)
treede5e33cc62a0f63614b2385c4195472e612f9811
parentfcb2988fd8c5bfa244466244872f9d5aa40fbe57 (diff)
BGP: "remote-as internal" need not be displayed if peer is member of
peer-group Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-7744
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 5d7a0cb775..3711c8fbd1 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -6231,7 +6231,7 @@ bgp_config_write_peer_global (struct vty *vty, struct bgp *bgp,
}
else
{
- if (! g_peer->as)
+ if (g_peer->as_type == AS_UNSPECIFIED)
{
if (peer->as_type == AS_SPECIFIED)
{