summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-08 09:15:09 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-08 09:15:09 +0200
commit5fb4bbfd99a55fdad184c86ee96826c2a2f3f9c3 (patch)
treec370ae0aa9f45026b5b9377522c5c9f05842fd89 /src/etc
parent6007bbbb188f8d81a541ef8178ef3d71a28bd6ec (diff)
downloadpfsense-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.inc2
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;
}
OpenPOWER on IntegriCloud