diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index b05003679b..c102a664b0 100644 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -289,7 +289,7 @@ foreach ($ports as $port) { } // Overwrite ifSpeed with ifHighSpeed if it's over 1G - if ((is_numeric($this_port['ifHighSpeed']) && $this_port['ifSpeed'] > '1000000000') || (is_numeric($this_port['ifHighSpeed']) && $this_port['ifSpeed'] == 0)) { + if (is_numeric($this_port['ifHighSpeed']) && ($this_port['ifSpeed'] > '1000000000' || $this_port['ifSpeed'] == 0)) { echo 'HighSpeed '; $this_port['ifSpeed'] = ($this_port['ifHighSpeed'] * 1000000); }