Commit 0117d004 authored by Martin Mareš's avatar Martin Mareš
Browse files

Fixed `show route primary'.

parent 18c031fa
......@@ -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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment