Fix ss command on newer versions of iproute2 #38

Merged
abrenner merged 1 commits from fix-ss-command-on-iproute2-v6.7.0 into main 2024-02-04 17:37:45 +08:00

View File

@ -439,7 +439,7 @@ class LookingGlass
// RHEL based systems;
$ssPath = '/usr/sbin/ss';
}
$lines = shell_exec("$ssPath -Hnti state established");
$lines = shell_exec("$ssPath -Hintp state established");
$ss = [];
$i = 0;
$j = 0;