mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 01:41:17 +00:00
Merge pull request #4286 from vishaldhingra/show_expanded
bgpd : lcommlist not shows the standard and expanded conf. correctly.
This commit is contained in:
commit
48fd341c90
@ -14951,14 +14951,16 @@ static void lcommunity_list_show(struct vty *vty, struct community_list *list)
|
|||||||
if (entry == list->head) {
|
if (entry == list->head) {
|
||||||
if (all_digit(list->name))
|
if (all_digit(list->name))
|
||||||
vty_out(vty, "Large community %s list %s\n",
|
vty_out(vty, "Large community %s list %s\n",
|
||||||
entry->style == EXTCOMMUNITY_LIST_STANDARD
|
entry->style ==
|
||||||
|
LARGE_COMMUNITY_LIST_STANDARD
|
||||||
? "standard"
|
? "standard"
|
||||||
: "(expanded) access",
|
: "(expanded) access",
|
||||||
list->name);
|
list->name);
|
||||||
else
|
else
|
||||||
vty_out(vty,
|
vty_out(vty,
|
||||||
"Named large community %s list %s\n",
|
"Named large community %s list %s\n",
|
||||||
entry->style == EXTCOMMUNITY_LIST_STANDARD
|
entry->style ==
|
||||||
|
LARGE_COMMUNITY_LIST_STANDARD
|
||||||
? "standard"
|
? "standard"
|
||||||
: "expanded",
|
: "expanded",
|
||||||
list->name);
|
list->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user