summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-04-18 11:41:52 +0200
committersmos <seth.mos@dds.nl>2012-04-18 11:41:52 +0200
commitc0b1bc81465e2e9636ae7b8af1e53089f5d2e1d0 (patch)
tree0442982319ab93aa5499bf33dda2051e81132d78 /etc/inc/gwlb.inc
parentfeb88a1476141a7249e1046ee705e3e982374668 (diff)
downloadpfsense-c0b1bc81465e2e9636ae7b8af1e53089f5d2e1d0.zip
pfsense-c0b1bc81465e2e9636ae7b8af1e53089f5d2e1d0.tar.gz
Make sure that SLAAC gateways show up in return_gateways_array();
redmine ticket #1834
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 98087c2..bb21f22 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -478,7 +478,7 @@ function return_gateways_array($disabled = false) {
/* Process/add dynamic v6 gateways. */
foreach($iflist as $ifname => $friendly ) {
- if(! interface_has_gatewayv6($ifname))
+ if(! interface_has_gateway($ifname))
continue;
if (empty($config['interfaces'][$ifname]))
@@ -493,6 +493,7 @@ function return_gateways_array($disabled = false) {
$ctype = "";
switch($ifcfg['ipaddrv6']) {
+ case "slaac":
case "dhcp6":
case "6to4":
case "6rd":
OpenPOWER on IntegriCloud