1
0
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:
Martin Mares
2000-05-08 14:58:00 +00:00
parent 0c3588bf5e
commit 33a368ad59
3 changed files with 7 additions and 3 deletions

View File

@@ -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)