mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Fixed `show route primary'.
This commit is contained in:
parent
18c031fae8
commit
0117d00494
@ -753,7 +753,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
|
|||||||
if (e != ee)
|
if (e != ee)
|
||||||
rte_free(ee);
|
rte_free(ee);
|
||||||
rte_update_unlock();
|
rte_update_unlock();
|
||||||
if (d->import_mode) /* In import mode, accept only the primary route */
|
if (d->primary_only)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user