summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-11-09 08:11:21 -0500
committerjim-p <jimp@pfsense.org>2012-11-09 08:11:21 -0500
commitca7a78d87dbf116c4721ca7e532d2647659f6864 (patch)
treedf454f6809be2473c3e844a51c15becbdb09236d /etc/rc.newwanip
parent02593e372af159c3f085f349b6a7b5f2fe8b9e62 (diff)
downloadpfsense-ca7a78d87dbf116c4721ca7e532d2647659f6864.zip
pfsense-ca7a78d87dbf116c4721ca7e532d2647659f6864.tar.gz
Fix interface variable to check against
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip2
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 */
OpenPOWER on IntegriCloud