mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Cached route attributes now have explicitly marked layers
Also the rta_* functions renamed to ea_* functions
This commit is contained in:
@@ -54,9 +54,9 @@ rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, int primary
|
||||
else
|
||||
from[0] = 0;
|
||||
|
||||
/* Need to normalize the extended attributes */
|
||||
if (d->verbose && !rta_is_cached(a) && a)
|
||||
a = ea_normalize(a, 0);
|
||||
/* Need to normalize the attributes for dumping */
|
||||
if (d->verbose && !a->stored)
|
||||
a = ea_normalize(a, EALS_NONE);
|
||||
|
||||
get_route_info = e->src->owner->class ? e->src->owner->class->get_route_info : NULL;
|
||||
if (get_route_info)
|
||||
|
Reference in New Issue
Block a user