Socket Statistic Application cleanup and application page graph fixes. (#15845)

This commit is contained in:
bnerickson
2024-02-21 12:31:51 -08:00
committed by GitHub
parent a9befd3b98
commit 7c59e64b7a
19 changed files with 146 additions and 267 deletions

View File

@@ -1,18 +1,5 @@
<?php
require_once 'includes/ss-shared.inc.php';
$netid = 'mptcp';
$socket_type = 'mptcp';
$rrdArray = [];
if (array_key_exists($socket_type, $ss_socket_states_mapper)) {
$local_ss_socket_states_mapper = $ss_socket_states_mapper[$socket_type];
} else {
$local_ss_socket_states_mapper = $ss_socket_states_mapper['default'];
}
foreach ($local_ss_socket_states_mapper as $socket_state => $socket_state_clean_name) {
$rrdArray[$socket_type][$socket_state_clean_name] = ['descr' => $socket_state_clean_name];
}
require 'ss-common.inc.php';
require 'ss-netid-common.inc.php';