summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-04-12 11:28:13 +0000
committerErmal <eri@pfsense.org>2014-04-12 11:28:13 +0000
commit5aba8d905ae1a0e2256a8468c25136a62aa69672 (patch)
tree2524c5223476a33be766d458ac68c53c91acee00
parent1f43ccf5539126254efa509e087133b522ee264f (diff)
downloadpfsense-5aba8d905ae1a0e2256a8468c25136a62aa69672.zip
pfsense-5aba8d905ae1a0e2256a8468c25136a62aa69672.tar.gz
Also add similar checks on rc.newwanipv6 as in the v4 version
-rwxr-xr-xetc/rc.newwanipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6
index 3da6ac9..177e645 100755
--- a/etc/rc.newwanipv6
+++ b/etc/rc.newwanipv6
@@ -85,7 +85,7 @@ if ($g['booting'] && $config['interfaces'][$interface]['ipaddrv6'] != "dhcp6")
* NOTE: Take care of openvpn and similar if you generate the event to reconfigure an interface.
* i.e. OpenVPN might be in tap mode and not have an ip.
*/
-if (empty($curwanipv6) || !is_ipaddrv6($curwanipv6)) {
+if ((empty($curwanipv6) || !is_ipaddrv6($curwanipv6)) && substr($interface_real, 0, 4) != "ovpn") {
log_error("rc.newwanipv6: Failed to update {$interface_descr}[{$interface}] IPv6, restarting...");
// send_event("interface reconfigure {$interface}");
exit;
OpenPOWER on IntegriCloud