diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-01-07 20:45:29 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-01-07 20:45:29 +0000 |
commit | f4541685c9bd289fc8342a491b1b0133d78eb469 (patch) | |
tree | 23c0c03e6b8ee9ad25ce41f13b3642d1328e1587 /src/usr | |
parent | 3568193009b7c2b5bde38e913f6e87dfa9265a12 (diff) | |
download | pfsense-f4541685c9bd289fc8342a491b1b0133d78eb469.zip pfsense-f4541685c9bd289fc8342a491b1b0133d78eb469.tar.gz |
IMHO this looks better in 'pre' tags than nl2br
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/diag_traceroute.php | 2 |
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")); } |