diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-04 12:08:37 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-04 12:08:37 +0200 |
commit | fe4dcd4ad1af602d63c6a24b891f79eb2e2538e8 (patch) | |
tree | e06bcea79c42c83ed7e76d32f4273910544d6b3d /routers/router.php | |
parent | 28b33f38436069f8b15ea1c51099f2184f5dbef6 (diff) |
Split IPv4 and IPv6 results.
Show the executed command for each output.
Diffstat (limited to 'routers/router.php')
-rw-r--r-- | routers/router.php | 4 |
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); } |