Commit d82b1a19 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

Nest: Fix 'show interfaces summary' command

The command showed interfaces that were removed / in shutdown.
parent 257c7ce9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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