diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-14 22:53:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-14 22:53:40 +0000 |
commit | 79c0324ba7454f9989a0883553258a3435a9d3ee (patch) | |
tree | f06982570f240b84793706f23cae167df6e64ec7 /etc | |
parent | 7c26341a041b60b31060bd5e2b375789afd3f4a3 (diff) | |
download | pfsense-79c0324ba7454f9989a0883553258a3435a9d3ee.zip pfsense-79c0324ba7454f9989a0883553258a3435a9d3ee.tar.gz |
Add missing )'s.
How this got past our PHP LINT checker is beyond me.
Diffstat (limited to 'etc')
-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 0f3798e..3f9f2a0 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) |