summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_traceroute.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-07-09 10:59:55 -0400
committerjim-p <jimp@pfsense.org>2013-07-09 11:01:40 -0400
commitf09c56002acb473566d1192266725d03d01745b1 (patch)
tree1df8f1c6b33cdf88a39f89b97dd6b82e4f277909 /usr/local/www/diag_traceroute.php
parent63e9efc92f4eba3a74fcf98ee858b35261d394e0 (diff)
downloadpfsense-f09c56002acb473566d1192266725d03d01745b1.zip
pfsense-f09c56002acb473566d1192266725d03d01745b1.tar.gz
Fix the "use ICMP" function for traceroute.
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