summaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/bird.php4
-rw-r--r--routers/quagga.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/routers/bird.php b/routers/bird.php
index 9a6c869..fee3736 100644
--- a/routers/bird.php
+++ b/routers/bird.php
@@ -28,7 +28,7 @@ final class Bird extends Router {
if (match_hostname($destination)) {
$hostname = $destination;
- $destination = hostname_to_ip_address($hostname);
+ $destination = hostname_to_ip_address($hostname, $this->config);
if (!$destination) {
throw new Exception('No record found for '.$hostname);
@@ -65,7 +65,7 @@ final class Bird extends Router {
if (match_hostname($destination)) {
$hostname = $destination;
- $destination = hostname_to_ip_address($hostname);
+ $destination = hostname_to_ip_address($hostname, $this->config);
if (!$destination) {
throw new Exception('No record found for '.$hostname);
diff --git a/routers/quagga.php b/routers/quagga.php
index d451e94..2f930df 100644
--- a/routers/quagga.php
+++ b/routers/quagga.php
@@ -28,7 +28,7 @@ final class Quagga extends Router {
if (match_hostname($destination)) {
$hostname = $destination;
- $destination = hostname_to_ip_address($hostname);
+ $destination = hostname_to_ip_address($hostname, $this->config);
if (!$destination) {
throw new Exception('No record found for '.$hostname);
@@ -65,7 +65,7 @@ final class Quagga extends Router {
if (match_hostname($destination)) {
$hostname = $destination;
- $destination = hostname_to_ip_address($hostname);
+ $destination = hostname_to_ip_address($hostname, $this->config);
if (!$destination) {
throw new Exception('No record found for '.$hostname);