From 4c1d5d672d1c5a4108ff1eb321b1fa9d88a509bf Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 19 Aug 2019 22:57:03 +0100 Subject: [PATCH] fix for #633 --- lib/App/Netdisco/Web/Plugin/Device/Ports.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/App/Netdisco/Web/Plugin/Device/Ports.pm b/lib/App/Netdisco/Web/Plugin/Device/Ports.pm index 51ed71ff..9f994dcd 100644 --- a/lib/App/Netdisco/Web/Plugin/Device/Ports.pm +++ b/lib/App/Netdisco/Web/Plugin/Device/Ports.pm @@ -82,6 +82,7 @@ get '/ajax/content/device/ports' => require_login sub { }); } delete $port_state{free}; + ++$port_state{down}; } if (scalar keys %port_state < 3) {