diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-08 07:56:00 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-08 07:56:00 -0400 | 
| commit | 48fd341c906aa98d6ee20a3e48b94aaa419c7fd0 (patch) | |
| tree | 53b6b9e2616ce3874e40bd0929d9eb234f5c04ca | |
| parent | 51844abda2de5d5bfb863621ff50eb6f70cc6935 (diff) | |
| parent | 169b72c851508a8a1e130622562db6ae10f1a365 (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.c | 6 | 
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);  | 
