diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-03-25 22:11:08 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-08 18:52:55 +0200 |
commit | ec46005ab296a8715d012b4944432b245df11f1b (patch) | |
tree | 2bfc3268b644865147b924c3dc9fb7ddeae383a6 /nest/rt-show.c | |
parent | a72ed9e2c941b94529bfef5d774da076af8f1af8 (diff) |
Nest: Recursive bgp routes
Allow recursive routes if they reference a route with a hight igp_metric.
Max depth set to 10.
Diffstat (limited to 'nest/rt-show.c')
-rw-r--r-- | nest/rt-show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c index 7691878d..a730881b 100644 --- a/nest/rt-show.c +++ b/nest/rt-show.c @@ -54,7 +54,8 @@ rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, int primary /* Need to normalize the extended attributes */ if (d->verbose && !rta_is_cached(a) && a->eattrs) - ea_normalize(a->eattrs); + if (a->eattrs) + ea_normalize(a->eattrs); get_route_info = a->src->proto->proto->get_route_info; if (get_route_info) |