diff options
author | jim-p <jimp@pfsense.org> | 2013-07-09 10:59:55 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-07-09 11:01:40 -0400 |
commit | f09c56002acb473566d1192266725d03d01745b1 (patch) | |
tree | 1df8f1c6b33cdf88a39f89b97dd6b82e4f277909 /usr/local/www/diag_traceroute.php | |
parent | 63e9efc92f4eba3a74fcf98ee858b35261d394e0 (diff) | |
download | pfsense-f09c56002acb473566d1192266725d03d01745b1.zip pfsense-f09c56002acb473566d1192266725d03d01745b1.tar.gz |
Fix the "use ICMP" function for traceroute.
Diffstat (limited to 'usr/local/www/diag_traceroute.php')
-rwxr-xr-x | usr/local/www/diag_traceroute.php | 2 |
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); |