diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 10:37:45 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 10:37:45 +0000 |
commit | 0117d004945afdfb6cc9a62db4561cd4eddee24a (patch) | |
tree | 64acbbb598bc6f59a4c12996651a8dfe27a57081 /nest | |
parent | 18c031fae8945409b0ff1139d88092ba19ec2780 (diff) |
Fixed `show route primary'.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index f3c7873e..2cf675ad 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -753,7 +753,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d) if (e != ee) rte_free(ee); rte_update_unlock(); - if (d->import_mode) /* In import mode, accept only the primary route */ + if (d->primary_only) break; } } |