summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 12:37:45 +0200
committerMartin Mares <mj@ucw.cz>2000-05-08 12:37:45 +0200
commit0117d004945afdfb6cc9a62db4561cd4eddee24a (patch)
tree64acbbb598bc6f59a4c12996651a8dfe27a57081 /nest
parent18c031fae8945409b0ff1139d88092ba19ec2780 (diff)
downloadbird-0117d004945afdfb6cc9a62db4561cd4eddee24a.tar
bird-0117d004945afdfb6cc9a62db4561cd4eddee24a.zip
Fixed `show route primary'.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index f3c7873..2cf675a 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;
}
}