diff options
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 23cbe0f9..298320d9 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -2878,6 +2878,11 @@ rt_get_igp_metric(rte *rt) } #endif +#ifdef CONFIG_BABEL + if (a->source == RTS_BABEL) + return rt->u.babel.metric; +#endif + if (a->source == RTS_DEVICE) return 0; |