mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Nest: Fix 'show interfaces summary' command
The command showed interfaces that were removed / in shutdown.
This commit is contained in:
parent
257c7ce95d
commit
d82b1a1977
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user