diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-09 10:50:38 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-03-09 10:50:38 +0100 |
commit | ff47cd80dd04bc11692248a40cbf52ee8d351064 (patch) | |
tree | ef64550e00c6610e55a2d0f9f1ebf71e93572f78 /nest/rt-show.c | |
parent | 9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (diff) | |
parent | d5a32563df1653952937117133f09143929ff0c2 (diff) |
Merge commit 'd5a32563' into haugesund
Diffstat (limited to 'nest/rt-show.c')
-rw-r--r-- | nest/rt-show.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c index f8b7ba51..b24befa2 100644 --- a/nest/rt-show.c +++ b/nest/rt-show.c @@ -154,7 +154,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d) else if (d->export_mode) { struct proto *ep = ec->proto; - int ic = ep->preexport ? ep->preexport(ep, &e, c->show_pool) : 0; + int ic = ep->preexport ? ep->preexport(ep, e) : 0; if (ec->ra_mode == RA_OPTIMAL || ec->ra_mode == RA_MERGED) pass = 1; @@ -393,7 +393,7 @@ rt_show_get_default_tables(struct rt_show_data *d) } for (int i=1; i<NET_MAX; i++) - if (config->def_tables[i]) + if (config->def_tables[i] && config->def_tables[i]->table) rt_show_add_table(d, config->def_tables[i]->table); } |