diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-14 22:53:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-14 22:53:46 +0000 |
commit | 6161e99dfd71ae668d82824046818f8e16448fab (patch) | |
tree | 9d1aedb2440dddb4cc4b49b07e1db56eae0f9e70 /etc/rc.newwanip | |
parent | ef0090a392d2832e15605114080abceb3920d0e6 (diff) | |
download | pfsense-6161e99dfd71ae668d82824046818f8e16448fab.zip pfsense-6161e99dfd71ae668d82824046818f8e16448fab.tar.gz |
Add missing )'s.
How this got past our PHP LINT checker is beyond me.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 12b5051..75f7869 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -65,13 +65,13 @@ if($curwanip == "0.0.0.0") { /* grab the prior ip for pftpx tests */ if(file_exists("/tmp/rc.newwanip_oldip")) { /* grab hint from dhclient */ - $old_ip = trim(file_get_contents("/tmp/rc.newwanip_oldip", "\r"); + $old_ip = trim(file_get_contents("/tmp/rc.newwanip_oldip", "\r")); unlink("/tmp/rc.newwanip_oldip"); } /* fallback to rc.newwanip ip if needed */ if(!$old_ip) if(file_exists("{$g['vardb_path']}/{$interface}_ip")) - $old_ip = trim(file_get_contents("{$g['vardb_path']}/{$interface}_ip", "\r"); + $old_ip = trim(file_get_contents("{$g['vardb_path']}/{$interface}_ip", "\r")); if($old_ip) { $helpers = exec("/bin/ps awux | grep \"{$old_ip}\" | grep -v \"grep\" | awk '{ print $2 }'"); if($helpers) |