From 8b63bfad3053d682ed13d03e4e9049c19b7ad138 Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 23 Dec 2015 11:40:17 +0000 Subject: [PATCH] Updated again --- includes/polling/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index 685780fbef..b0cc451c7c 100644 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -486,7 +486,7 @@ foreach ($ports as $port) { $fields['ifInOctets_rate'] = $port['ifInOctets_rate']; $fields['ifOutOctets_rate'] = $port['ifOutOctets_rate']; - $tags = array('ifName' => '"'.$this_port['ifName'].'"', 'ifSpeed' => '"'.$this_port['ifSpeed'].'"', 'port_descr_type' => '"'.$this_port['port_descr_type'].'"'); + $tags = array('ifName' => '"'.$port['ifName'].'"', 'ifSpeed' => '"'.$port['ifSpeed'].'"', 'port_descr_type' => '"'.$port['port_descr_type'].'"'); influx_update($device,'ports',$tags,$fields); // End Update IF-MIB