summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-08 07:56:00 -0400
committerGitHub <noreply@github.com>2019-05-08 07:56:00 -0400
commit48fd341c906aa98d6ee20a3e48b94aaa419c7fd0 (patch)
tree53b6b9e2616ce3874e40bd0929d9eb234f5c04ca
parent51844abda2de5d5bfb863621ff50eb6f70cc6935 (diff)
parent169b72c851508a8a1e130622562db6ae10f1a365 (diff)
Merge pull request #4286 from vishaldhingra/show_expanded7.1_pulled
bgpd : lcommlist not shows the standard and expanded conf. correctly.
-rw-r--r--bgpd/bgp_vty.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 01144f5c78..9a8da359ab 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -14951,14 +14951,16 @@ static void lcommunity_list_show(struct vty *vty, struct community_list *list)
if (entry == list->head) {
if (all_digit(list->name))
vty_out(vty, "Large community %s list %s\n",
- entry->style == EXTCOMMUNITY_LIST_STANDARD
+ entry->style ==
+ LARGE_COMMUNITY_LIST_STANDARD
? "standard"
: "(expanded) access",
list->name);
else
vty_out(vty,
"Named large community %s list %s\n",
- entry->style == EXTCOMMUNITY_LIST_STANDARD
+ entry->style ==
+ LARGE_COMMUNITY_LIST_STANDARD
? "standard"
: "expanded",
list->name);