Commit aa10cb9e authored by Franco Fichtner's avatar Franco Fichtner

dhcp6: fix IP grabbing with PPPoE

PR: https://redmine.pfsense.org/issues/3670
parent fa7429e0
...@@ -4728,8 +4728,9 @@ function get_interface_ipv6($interface = "wan", $flush = false) { ...@@ -4728,8 +4728,9 @@ function get_interface_ipv6($interface = "wan", $flush = false) {
case 'l2tp': case 'l2tp':
case 'pptp': case 'pptp':
case 'ppp': case 'ppp':
if ($config['interfaces'][$interface]['ipaddrv6'] == 'dhcp6') if ($config['interfaces'][$interface]['ipaddrv6'] == 'dhcp6') {
$realif = get_real_interface($interface, "inet6", true); $realif = get_real_interface($interface, 'inet6');
}
break; break;
} }
if (isset($config['interfaces'][$interface]['dhcp6prefixonly'])) { if (isset($config['interfaces'][$interface]['dhcp6prefixonly'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment