mirror of
https://github.com/hybula/lookingglass.git
synced 2024-09-21 05:20:06 +00:00
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:
commit
312b5b111e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue