diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-04-25 08:32:29 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-04-25 08:32:38 -0300 |
commit | 8e78c82ce535f316ea2b7482eca4b084f62af271 (patch) | |
tree | a834ca607274ddef91802cfb7ee518e367ac3668 /etc/inc | |
parent | 26190b11f34083e9076e639e46d5ff3bcb1eda40 (diff) | |
download | pfsense-8e78c82ce535f316ea2b7482eca4b084f62af271.zip pfsense-8e78c82ce535f316ea2b7482eca4b084f62af271.tar.gz |
ipprotocol is inet or inet6
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 960c7e0..088f251 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']); |