diff options
author | smos <seth.mos@dds.nl> | 2012-04-18 15:10:36 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-04-18 15:11:12 +0200 |
commit | 67102344958633f9998cc8673a446bdc5e1e59f5 (patch) | |
tree | 5bb602c27c22f321e4843202aef41d3096c98285 | |
parent | c91e242e607c6ff2376350108255dbadcdb039e0 (diff) | |
download | pfsense-67102344958633f9998cc8673a446bdc5e1e59f5.zip pfsense-67102344958633f9998cc8673a446bdc5e1e59f5.tar.gz |
Add the correct fix to pick up the IPv6 gateway for slaac interfaces
-rw-r--r-- | etc/inc/gwlb.inc | 2 | ||||
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index bb21f22..9874263 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_gateway($ifname)) + if(! interface_has_gatewayv6($ifname)) continue; if (empty($config['interfaces'][$ifname])) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index fb18fa2..bb1928c 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -4463,6 +4463,7 @@ function interface_has_gatewayv6($friendly) { if (!empty($config['interfaces'][$friendly])) { $ifname = &$config['interfaces'][$friendly]; switch ($ifname['ipaddrv6']) { + case "slaac": case "dhcp6": return true; break; |