diff options
author | Ermal <eri@pfsense.org> | 2014-04-12 11:28:13 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-12 11:28:43 +0000 |
commit | faf20ee4a7652b80f8ef4578c1b2f5bd999c708c (patch) | |
tree | 6e398c5e816a3fa409c68bd57151003b6c44b533 /etc | |
parent | 83c0dc1d1ea154c0096f6a291f51944d057f5241 (diff) | |
download | pfsense-faf20ee4a7652b80f8ef4578c1b2f5bd999c708c.zip pfsense-faf20ee4a7652b80f8ef4578c1b2f5bd999c708c.tar.gz |
Also add similar checks on rc.newwanipv6 as in the v4 version
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.newwanipv6 | 2 |
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; |