summaryrefslogtreecommitdiff
path: root/routers/bird.php
diff options
context:
space:
mode:
Diffstat (limited to 'routers/bird.php')
-rw-r--r--routers/bird.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/bird.php b/routers/bird.php
index 5219cc2..9a6c869 100644
--- a/routers/bird.php
+++ b/routers/bird.php
@@ -120,11 +120,11 @@ final class Bird extends Router {
case 'as-path-regex':
if (match_aspath_regex($parameter)) {
- if (!$this->global_config['misc']['disable_ipv6']) {
+ if (!$this->config['disable_ipv6']) {
$commands[] = $birdc6.' \'show route where bgp_path ~ [= '.
$parameter.' =]\'';
}
- if (!$this->global_config['misc']['disable_ipv4']) {
+ if (!$this->config['disable_ipv4']) {
$commands[] = $birdc.' \'show route where bgp_path ~ [= '.
$parameter.' =]\'';
}
@@ -135,11 +135,11 @@ final class Bird extends Router {
case 'as':
if (match_as($parameter)) {
- if (!$this->global_config['misc']['disable_ipv6']) {
+ if (!$this->config['disable_ipv6']) {
$commands[] = $birdc6.' \'show route where bgp_path ~ [= '.
$parameter.' =]\'';
}
- if (!$this->global_config['misc']['disable_ipv4']) {
+ if (!$this->config['disable_ipv4']) {
$commands[] = $birdc.' \'show route where bgp_path ~ [= '.
$parameter.' =]\'';
}