From 022f375916fb8c9bb74f95f808c527f6d05671e2 Mon Sep 17 00:00:00 2001 From: Original RatMan Date: Wed, 8 Feb 2023 09:35:32 -0400 Subject: [PATCH] Update tcpstates.inc.php Swap order to follow an example. --- includes/polling/applications/tcpstates.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }