From faf20ee4a7652b80f8ef4578c1b2f5bd999c708c Mon Sep 17 00:00:00 2001 From: Ermal Date: Sat, 12 Apr 2014 11:28:13 +0000 Subject: Also add similar checks on rc.newwanipv6 as in the v4 version --- etc/rc.newwanipv6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; -- cgit v1.1