summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_traceroute.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/diag_traceroute.php')
-rwxr-xr-xusr/local/www/diag_traceroute.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_traceroute.php b/usr/local/www/diag_traceroute.php
index 6399708..1e27020 100755
--- a/usr/local/www/diag_traceroute.php
+++ b/usr/local/www/diag_traceroute.php
@@ -187,7 +187,7 @@ if ($do_traceroute) {
if ($ifaddr && (is_ipaddr($host) || is_hostname($host)))
$srcip = "-s " . escapeshellarg($ifaddr);
- $cmd = "{$command} {$n} {$srcip} -w 2 -m " . escapeshellarg($ttl) . " " . escapeshellarg($host);
+ $cmd = "{$command} {$n} {$srcip} -w 2 {$useicmp} -m " . escapeshellarg($ttl) . " " . escapeshellarg($host);
//echo "Traceroute command: {$cmd}\n";
system($cmd);
OpenPOWER on IntegriCloud