summaryrefslogtreecommitdiff
path: root/nest/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/iface.c')
-rw-r--r--nest/iface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/iface.c b/nest/iface.c
index 7acadc7d..1ef16185 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -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