From 8e78c82ce535f316ea2b7482eca4b084f62af271 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 25 Apr 2013 08:32:29 -0300 Subject: [PATCH] ipprotocol is inet or inet6 --- etc/inc/gwlb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 960c7e0c2a..088f2516a5 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -380,7 +380,7 @@ function return_gateways_array($disabled = false, $localhost = false) { } /* if the gateway is dynamic6 and we can find the IPv6, Great! */ - if ($gateway['ipprotocol'] == "inet6") { + else if ($gateway['ipprotocol'] == "inet6") { /* we know which interfaces is dynamic, this should be made a function, and for v6 too */ $gateway['ipprotocol'] = "inet6"; $gateway['gateway'] = get_interface_gateway_v6($gateway['interface']);