summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-07 15:54:15 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-07 15:54:15 -0500
commit277b83dd883dc2fe1cfb225b0a352809d4d250a6 (patch)
treef49cbe795ee200391acaa05defafe6fe4fa30624
parent811fb4200a8b41ca0d1e59838b6cb38d3d89edc2 (diff)
parentf4541685c9bd289fc8342a491b1b0133d78eb469 (diff)
downloadpfsense-277b83dd883dc2fe1cfb225b0a352809d4d250a6.zip
pfsense-277b83dd883dc2fe1cfb225b0a352809d4d250a6.tar.gz
Merge pull request #2379 from NewEraCracker/better-diag-traceroute
-rw-r--r--src/usr/local/www/diag_traceroute.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_traceroute.php b/src/usr/local/www/diag_traceroute.php
index ee76c0c..7253019 100644
--- a/src/usr/local/www/diag_traceroute.php
+++ b/src/usr/local/www/diag_traceroute.php
@@ -210,7 +210,7 @@ if (!$input_errors && $do_traceroute) {
<div class="panel-body">
<?php
if ($result = shell_exec($cmd)) {
- print(nl2br($result));
+ print('<pre>'.$result.'</pre>');
} else {
print('Error: ' . $host . ' ' . gettext("could not be traced/resolved"));
}
OpenPOWER on IntegriCloud