diff options
Diffstat (limited to 'routers/juniper.php')
-rw-r--r-- | routers/juniper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/juniper.php b/routers/juniper.php index d80b4f8..d29161b 100644 --- a/routers/juniper.php +++ b/routers/juniper.php @@ -53,9 +53,9 @@ final class Juniper extends Router { case 'as': if (match_as($parameters)) { $commands[] = 'show route aspath-regex "^'.$parameters. - '$" protocol bgp table inet.0'; + ' .*" protocol bgp table inet.0'; $commands[] = 'show route aspath-regex "^'.$parameters. - '$" protocol bgp table inet6.0'; + ' .*" protocol bgp table inet6.0'; } else { throw new Exception('The parameter is not an AS number.'); } |