Merge pull request #38 from abrenner/fix-ss-command-on-iproute2-v6.7.0

Fix ss command on newer versions of iproute2
This commit is contained in:
Tamer 2024-02-04 10:37:45 +01:00 committed by GitHub
commit 312b5b111e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;