summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-23 01:33:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-23 01:33:59 +0000
commitec9e5b7b7ac26b7f7ae7da4e0361330762f60384 (patch)
tree06e49282d83e76d48bf91ae9a61d8a49e6eeae7d /etc
parent4bd9ba0babdba5a6c8edbc19008262915aed5ad4 (diff)
downloadpfsense-ec9e5b7b7ac26b7f7ae7da4e0361330762f60384.zip
pfsense-ec9e5b7b7ac26b7f7ae7da4e0361330762f60384.tar.gz
Remove old workaround code now that ISC dhclient is back
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index d6067a9..90555a1 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -54,13 +54,6 @@ if($argument <> "") {
$interface_real = $config['interfaces']['wan']['if'];
}
-if($curwanip == "0.0.0.0") {
- log_error("Failed to update WAN IP, restarting dhclient.");
- exec("dhclient {$interface_real}");
- /* die now, dhclient will kick off rc.newwanip again? */
- exit;
-}
-
/* grab the prior ip for pftpx tests */
if(file_exists("/tmp/rc.newwanip_oldip")) {
/* grab hint from dhclient */
OpenPOWER on IntegriCloud