Skip to content

Commit

Permalink
routing-instance selection
Browse files Browse the repository at this point in the history
  • Loading branch information
mirackle-spb committed Dec 30, 2021
1 parent d726616 commit c1c7ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit c1c7ef4

Please sign in to comment.