diff --git a/html/includes/header.inc.php b/html/includes/header.inc.php index 178e4dd07..f5511546f 100644 --- a/html/includes/header.inc.php +++ b/html/includes/header.inc.php @@ -1,7 +1,7 @@
diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index 994240971..d1a9994e4 100755 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -120,6 +120,9 @@ foreach ($port_stats as $ifIndex => $port) dbUpdate(array('deleted' => '0'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id'])); $ports[$ifIndex]['deleted'] = "0"; } + } else { + dbUpdate(array('deleted' => '1'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id'])); + $ports[$ifIndex]['deleted'] = "1"; } } /// End New interface detection