Skip to content

Commit

Permalink
Merge pull request #38 from abrenner/fix-ss-command-on-iproute2-v6.7.0
Browse files Browse the repository at this point in the history
Fix ss command on newer versions of iproute2
  • Loading branch information
dqos authored Feb 4, 2024
2 parents 2ae44ad + c00e5d6 commit 312b5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LookingGlass.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ private static function getLatencyFromSs(string $ip): array
// 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;
Expand Down

0 comments on commit 312b5b1

Please sign in to comment.