mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Implemented show route count' which is
show route stats' with
exception that it doesn't print the routes themselves.
This commit is contained in:
@@ -749,7 +749,8 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
|
||||
if (ok)
|
||||
{
|
||||
d->show_counter++;
|
||||
rt_show_rte(c, ia, e, d, tmpa);
|
||||
if (d->stats < 2)
|
||||
rt_show_rte(c, ia, e, d, tmpa);
|
||||
ia[0] = 0;
|
||||
}
|
||||
if (e != ee)
|
||||
|
Reference in New Issue
Block a user