From 4fe4e2984827968b75aaedb0ac7061448b4185e2 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 16 Jun 2015 12:19:42 +0200 Subject: Remove forgotten 's' while change variable name. --- routers/quagga.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/quagga.php') 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.'); -- cgit v1.2.3