summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-06-12 22:21:31 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-06-12 22:21:31 +0200
commita181256cd2bd1b3459ebfe668f86bae11a1ec116 (patch)
treec94a0919566cb33d52c2e62b1f3c84f243358170
parent857605c40aa7a8eb01ff989073c29f59bcc55b8b (diff)
Fix last commit.
-rw-r--r--routers/juniper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/juniper.php b/routers/juniper.php
index ef78899..2a81663 100644
--- a/routers/juniper.php
+++ b/routers/juniper.php
@@ -26,7 +26,7 @@ final class Juniper extends Router {
protected function build_command($command, $parameters) {
switch ($command) {
case 'bgp':
- if (match_ipv4($parameters) || match_ipv6($parameters)) {
+ if (match_ipv4($parameters)) {
$complete_command = 'show route '.$parameters.
' table inet.0 protocol bgp active-path | no-more';
} else if (match_ipv6($parameters)) {