From 0512ffb7f70f85223a71ffd539b74459793178af Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Wed, 3 Sep 2014 11:19:56 +0200 Subject: Add config to disallow the use of private and reserved IP ranges. --- routers/juniper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/juniper.php') diff --git a/routers/juniper.php b/routers/juniper.php index 99da240..d80b4f8 100644 --- a/routers/juniper.php +++ b/routers/juniper.php @@ -46,7 +46,7 @@ final class Juniper extends Router { $commands[] = 'show route aspath-regex "'.$parameters. '" protocol bgp table inet6.0'; } else { - throw new Exception('The parameter is not an AS-Path regular expression like ".*XXXX YYYY.*".'); + throw new Exception('The parameter is not an AS-Path regular expression.'); } break; -- cgit v1.2.3