summaryrefslogtreecommitdiff
path: root/routers/cisco.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-09-03 11:19:56 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-09-03 11:19:56 +0200
commit0512ffb7f70f85223a71ffd539b74459793178af (patch)
tree9c97d86b9b3f4ba908f2f217c70a777dbb03b5a5 /routers/cisco.php
parentd9fcd2d238eaf8ab61de5c8a1ef5ad6fbd5d1778 (diff)
Add config to disallow the use of private and reserved IP ranges.
Diffstat (limited to 'routers/cisco.php')
-rw-r--r--routers/cisco.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/cisco.php b/routers/cisco.php
index b7eb01c..304cb56 100644
--- a/routers/cisco.php
+++ b/routers/cisco.php
@@ -42,7 +42,7 @@ final class Cisco extends Router {
$commands[] = 'show bgp ipv4 unicast quote-regexp "'.$parameters.'"';
$commands[] = 'show bgp ipv6 unicast quote-regexp "'.$parameters.'"';
} 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;