diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2015-06-16 12:19:42 +0200 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2015-06-16 12:19:42 +0200 |
commit | 4fe4e2984827968b75aaedb0ac7061448b4185e2 (patch) | |
tree | d99ad2155ca0f478df06a88325a9258f5c0708f1 | |
parent | 19ecc37b56654eb327f92d1057c40ae6b3ee759d (diff) |
Remove forgotten 's' while change variable name.
-rw-r--r-- | routers/quagga.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/quagga.php b/routers/quagga.php index 931cf8f..58b2cda 100644 --- a/routers/quagga.php +++ b/routers/quagga.php @@ -100,7 +100,7 @@ final class Quagga extends Router { case 'bgp': if (match_ipv4($parameter, false)) { $commands[] = $vtysh.'show bgp ipv4 unicast '.$parameter.'"'; - } else if (match_ipv6($parameters, false)) { + } else if (match_ipv6($parameter, false)) { $commands[] = $vtysh.'show bgp ipv6 unicast '.$parameter.'"'; } else { throw new Exception('The parameter is not an IPv4/IPv6 address.'); |