summaryrefslogtreecommitdiff
path: root/routers/router.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2016-06-13 11:23:09 +0200
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2016-06-13 11:23:09 +0200
commit931788ad45b4f1114e97e6ac2869ab84efa767e2 (patch)
tree6d93fee8a118e67843222278e0cbe95494d8b74d /routers/router.php
parent669fb2ebd03ac5e9b0806acb1c200e71e69b3d47 (diff)
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.
Diffstat (limited to 'routers/router.php')
-rw-r--r--routers/router.php4
1 files changed, 4 insertions, 0 deletions
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);