summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-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;
}
}