diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-08 09:15:09 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-08 09:15:09 +0200 |
commit | 5fb4bbfd99a55fdad184c86ee96826c2a2f3f9c3 (patch) | |
tree | c370ae0aa9f45026b5b9377522c5c9f05842fd89 /src/etc | |
parent | 6007bbbb188f8d81a541ef8178ef3d71a28bd6ec (diff) | |
download | pfsense-5fb4bbfd99a55fdad184c86ee96826c2a2f3f9c3.zip pfsense-5fb4bbfd99a55fdad184c86ee96826c2a2f3f9c3.tar.gz |
Fix incorrect identification of IPv6 interface with PPP-type interfaces and DHCP6
This has been broken ever since commited in 420aa48
As noted on https://redmine.pfsense.org/issues/3670 - the get_interface_ipv6() function in /etc/inc/interfaces.php incorrectly identifies the interface as the physical hardware interface. As a result, no global IPv6 address can be found (empty $ifcfgipv6) - https://redmine.pfsense.org/issues/3556
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 4d9389a..23036dc 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -5329,7 +5329,7 @@ function get_interface_ipv6($interface = "wan", $flush = false) { case 'pptp': case 'ppp': if ($config['interfaces'][$interface]['ipaddrv6'] == 'dhcp6') { - $realif = get_real_interface($interface, 'inet6', true); + $realif = get_real_interface($interface, 'inet6', false); } break; } |