From a181256cd2bd1b3459ebfe668f86bae11a1ec116 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Thu, 12 Jun 2014 22:21:31 +0200 Subject: Fix last commit. --- routers/juniper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3