summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanipv6
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-xetc/rc.newwanipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6
index 25295e5..6fc1cc8 100755
--- a/etc/rc.newwanipv6
+++ b/etc/rc.newwanipv6
@@ -88,7 +88,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}");
return;
OpenPOWER on IntegriCloud