diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-04-25 08:30:45 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-04-25 08:30:45 -0300 |
commit | 26190b11f34083e9076e639e46d5ff3bcb1eda40 (patch) | |
tree | 66bb597f989ecb275925e6d222f91bb3f7b21282 /etc/inc | |
parent | 65cfd0ca74d661b069344b0ddc65d622702ae3e6 (diff) | |
download | pfsense-26190b11f34083e9076e639e46d5ff3bcb1eda40.zip pfsense-26190b11f34083e9076e639e46d5ff3bcb1eda40.tar.gz |
Take dynamic6 into consideration too
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 e3cfd39..960c7e0 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -368,7 +368,7 @@ function return_gateways_array($disabled = false, $localhost = false) { continue; /* if the gateway is dynamic and we can find the IPv4, Great! */ - if (empty($gateway['gateway']) || $gateway['gateway'] == "dynamic") { + if (empty($gateway['gateway']) || $gateway['gateway'] == "dynamic" || $gateway['gateway'] == "dynamic6") { if ($gateway['ipprotocol'] == "inet") { /* we know which interfaces is dynamic, this should be made a function */ $gateway['ipprotocol'] = "inet"; |