mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Moved route source attribute (RTS_*) to eattrs
This commit is contained in:
@@ -402,7 +402,7 @@ bgp_total_aigp_metric_(rte *e, u64 *metric, const struct adata **ad)
|
||||
static inline int
|
||||
bgp_init_aigp_metric(rte *e, u64 *metric, const struct adata **ad)
|
||||
{
|
||||
if (e->attrs->source == RTS_BGP)
|
||||
if (rt_get_source_attr(e) == RTS_BGP)
|
||||
return 0;
|
||||
|
||||
*metric = rt_get_igp_metric(e);
|
||||
|
||||
Reference in New Issue
Block a user