diff --git a/includes/polling/applications/tcpstates.inc.php b/includes/polling/applications/tcpstates.inc.php index 6d101b5..fc2f7d7 100644 --- a/includes/polling/applications/tcpstates.inc.php +++ b/includes/polling/applications/tcpstates.inc.php @@ -12,10 +12,10 @@ $tcpstates_data[trim($item)] = trim($value); } - rrdtool_update_ng($device, 'tcpstates', $tcpstates_data, $app_id); - update_application($app_id, $tcpstates_data); + rrdtool_update_ng($device, 'tcpstates', $tcpstates_data, $app_id); + unset($app_id,$tcpstates_data); }