From 931788ad45b4f1114e97e6ac2869ab84efa767e2 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Mon, 13 Jun 2016 11:23:09 +0200 Subject: Per router options to disable/enable IP versions. Remove the global options to disable/enable IPv6 or IPv4. These options can now be used on the router configuration level, which seems more appropriate. --- routers/router.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'routers/router.php') diff --git a/routers/router.php b/routers/router.php index f980982..6e564d6 100644 --- a/routers/router.php +++ b/routers/router.php @@ -112,6 +112,10 @@ abstract class Router { protected abstract function build_commands($command, $parameter); + public function get_config() { + return $this->config; + } + public function send_command($command, $parameter) { try { $commands = $this->build_commands($command, $parameter); -- cgit v1.2.3