diff options
author | jim-p <jimp@pfsense.org> | 2012-11-09 08:11:21 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-11-09 08:11:21 -0500 |
commit | ca7a78d87dbf116c4721ca7e532d2647659f6864 (patch) | |
tree | df454f6809be2473c3e844a51c15becbdb09236d /etc/rc.newwanip | |
parent | 02593e372af159c3f085f349b6a7b5f2fe8b9e62 (diff) | |
download | pfsense-ca7a78d87dbf116c4721ca7e532d2647659f6864.zip pfsense-ca7a78d87dbf116c4721ca7e532d2647659f6864.tar.gz |
Fix interface variable to check against
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 3729438..4df5343 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -170,7 +170,7 @@ if (is_ipaddr($oldip) && $curwanip == $oldip) { vpn_ipsec_force_reload(); /* start OpenVPN server & clients */ - if (substr($interface, 0, 4) != "ovpn") + if (substr($interface_real, 0, 4) != "ovpn") openvpn_resync_all($interface); /* perform RFC 2136 DNS update */ |