mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Route attribute display now normalizes ea_lists.
This is needed to display every attribute only once with overlay attribute lists recently introduced.
This commit is contained in:
parent
c431d9c33c
commit
d5cac1a4ef
@ -1376,9 +1376,9 @@ ea_dump_all(void)
|
|||||||
void
|
void
|
||||||
ea_show_list(struct cli *c, ea_list *eal)
|
ea_show_list(struct cli *c, ea_list *eal)
|
||||||
{
|
{
|
||||||
for( ; eal; eal=eal->next)
|
ea_list *n = ea_normalize(eal, 0);
|
||||||
for(int i=0; i<eal->count; i++)
|
for (int i =0; i < n->count; i++)
|
||||||
ea_show(c, &eal->attrs[i]);
|
ea_show(c, &n->attrs[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user