diff --git a/htdocs/index.php b/htdocs/index.php index e385f5b..c27d608 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -1578,7 +1578,7 @@ function ($matches) { } // JunOS - if (preg_match("/^show route advertising-protocol bgp\s+([\d\.A-Fa-f:]+)$/i", $exec, $ip_exp)) + if (preg_match("/^show route advertising-protocol bgp\s+([\d\.A-Fa-f:]+)(?:\s+instance\s+[\d\w-]*)?$/i", $exec, $ip_exp)) { $ip = $ip_exp[1];