From c1c7ef41eaeb974c9f756b681b9d4ed9104366a0 Mon Sep 17 00:00:00 2001 From: "Pavel D. Kuzin" Date: Thu, 30 Dec 2021 17:22:41 +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 c27d608..4f8949c 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:]+)(?:\s+instance\s+[\d\w-]*)?$/i", $exec, $ip_exp)) + if (preg_match("/^show route advertising-protocol bgp\s+([\d\.A-Fa-f:]+)(?:\s+table\s+[\d\w\-\.]*)?$/i", $exec, $ip_exp)) { $ip = $ip_exp[1];