]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed `show route primary'.
authorMartin Mares <mj@ucw.cz>
Mon, 8 May 2000 10:37:45 +0000 (10:37 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 8 May 2000 10:37:45 +0000 (10:37 +0000)
nest/rt-table.c

index f3c7873e2921843489b26dee168bcdc9944c72e2..2cf675adc23e895c4b95158096149b064faf6e00 100644 (file)
@@ -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;
     }
 }