From: Martin Mares Date: Mon, 8 May 2000 10:37:45 +0000 (+0000) Subject: Fixed `show route primary'. X-Git-Tag: v1.2.0~1023 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0117d004945afdfb6cc9a62db4561cd4eddee24a;p=thirdparty%2Fbird.git Fixed `show route primary'. --- diff --git a/nest/rt-table.c b/nest/rt-table.c index f3c7873e2..2cf675adc 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; } }