From d7266164c229ea8054e3c4c13a7232d2ede99eb7 Mon Sep 17 00:00:00 2001 From: "Pavel D. Kuzin" Date: Thu, 30 Dec 2021 17:20:49 +0300 Subject: [PATCH] routing-instance selection --- htdocs/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];