mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-18 09:08:42 +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
|
||||
ea_show_list(struct cli *c, ea_list *eal)
|
||||
{
|
||||
for( ; eal; eal=eal->next)
|
||||
for(int i=0; i<eal->count; i++)
|
||||
ea_show(c, &eal->attrs[i]);
|
||||
ea_list *n = ea_normalize(eal, 0);
|
||||
for (int i =0; i < n->count; i++)
|
||||
ea_show(c, &n->attrs[i]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user