mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
Nest: Read Babel metric as IGP metric
(Minor syntactic changes by committer)
This commit is contained in:
parent
ea3c6c1a15
commit
455c13dc99
@ -2878,6 +2878,11 @@ rt_get_igp_metric(rte *rt)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_BABEL
|
||||||
|
if (a->source == RTS_BABEL)
|
||||||
|
return rt->u.babel.metric;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (a->source == RTS_DEVICE)
|
if (a->source == RTS_DEVICE)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user