summaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/bird.php2
-rw-r--r--routers/cisco.php2
-rw-r--r--routers/juniper.php2
-rw-r--r--routers/quagga.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/routers/bird.php b/routers/bird.php
index a9fec59..25d7544 100644
--- a/routers/bird.php
+++ b/routers/bird.php
@@ -47,7 +47,7 @@ final class Bird extends Router {
$commands[] = $birdc6.' \'show route where bgp_path ~ [= '.
$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;
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;
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;
diff --git a/routers/quagga.php b/routers/quagga.php
index 642ff4e..2dc7dc2 100644
--- a/routers/quagga.php
+++ b/routers/quagga.php
@@ -44,7 +44,7 @@ final class Quagga extends Router {
$commands[] = $vtysh.'show ip bgp regexp '.$parameters.'"';
$commands[] = $vtysh.'show ipv6 bgp 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;