diff options
author | Phil Davis <phil.davis@inf.org> | 2014-04-14 02:10:28 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-04-14 02:10:28 -0700 |
commit | c58dbe2fa836d26e3cf4a2077a4b6d398edc763f (patch) | |
tree | 298900c0f46584cfa92669b84e3cb0f4a5947730 | |
parent | 7fd38f44ba327ab1cd1cad3ac76ebb169ccb12e0 (diff) | |
download | pfsense-c58dbe2fa836d26e3cf4a2077a4b6d398edc763f.zip pfsense-c58dbe2fa836d26e3cf4a2077a4b6d398edc763f.tar.gz |
Fix typo
-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 9c92099..201f085 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -92,7 +92,7 @@ log_error("rc.newwanip: on (IP address: {$curwanip}) (interface: {$interface_des * 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 (($curwanip == "0.0.0.0" || !is_ipaddr($curwanip)) && susbstr($interface_real, 0, 4) != "ovpn") { +if (($curwanip == "0.0.0.0" || !is_ipaddr($curwanip)) && substr($interface_real, 0, 4) != "ovpn") { log_error("rc.newwanip: Failed to update {$interface} IP, restarting..."); send_event("interface reconfigure {$interface}"); exit; |