summaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-08-04 12:08:37 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-08-04 12:08:37 +0200
commitfe4dcd4ad1af602d63c6a24b891f79eb2e2538e8 (patch)
treee06bcea79c42c83ed7e76d32f4273910544d6b3d /routers
parent28b33f38436069f8b15ea1c51099f2184f5dbef6 (diff)
Split IPv4 and IPv6 results.
Show the executed command for each output.
Diffstat (limited to 'routers')
-rw-r--r--routers/router.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/routers/router.php b/routers/router.php
index d786f94..bf5c466 100644
--- a/routers/router.php
+++ b/routers/router.php
@@ -52,7 +52,9 @@ abstract class Router {
$data = '';
foreach ($commands as $selected) {
- $data .= $auth->send_command($selected);
+ $data .= '<span class="label label-primary">'.$selected.'</span>';
+ $data .= '<pre class="pre-scrollable">'.$auth->send_command($selected).
+ '</pre>';
log_to_file('[client: '.$this->requester.'] '.$this->config['host'].
'> '.$selected);
}