diff options
author | marjohn56 <martin@queens-park.com> | 2017-05-26 09:56:21 +0100 |
---|---|---|
committer | marjohn56 <martin@queens-park.com> | 2017-07-27 17:18:46 +0100 |
commit | b73313837b9efe6021fe7841adf6e837a89607a1 (patch) | |
tree | 959ce2f74b3a16d4728b722d7e36fa893a52fe18 /src/etc | |
parent | d1637ec2a49943ac5af724c1b76236f5f768add6 (diff) | |
download | pfsense-b73313837b9efe6021fe7841adf6e837a89607a1.zip pfsense-b73313837b9efe6021fe7841adf6e837a89607a1.tar.gz |
Add Option to use static IPV6 over v4 parent ( PPPoE
A new option when setting a v6 static on the WAN to allow the connection to use the V4 interfaces i.e. PPPoE
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/interfaces.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 0787110..87bad0a 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -5132,7 +5132,8 @@ function get_real_interface($interface = "wan", $family = "all", $realv6iface = case 'ppp': case 'l2tp': case 'pptp': - if (isset($cfg['dhcp6usev4iface']) && $realv6iface === false) { + // Added catch for static v6 but using v4 link. Sets things to use pppoe link + if ((isset($cfg['dhcp6usev4iface']) && $realv6iface === false) || isset($cfg['ipv6usev4iface'])) { $wanif = $cfg['if']; } else { $parents = get_parent_interface($interface); |