0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-10 05:08:42 +00:00

Nest: Fix 'show interfaces summary' command

The command showed interfaces that were removed / in shutdown.
This commit is contained in:
Ondrej Zajicek (work) 2018-12-20 12:57:43 +01:00
parent 257c7ce95d
commit d82b1a1977

View File

@ -827,6 +827,9 @@ if_show_summary(void)
cli_msg(-2005, "interface state address");
WALK_LIST(i, iface_list)
{
if (i->flags & IF_SHUTDOWN)
continue;
if (i->addr)
bsprintf(addr, "%I/%d", i->addr->ip, i->addr->pxlen);
else