diff options
author | jim-p <jimp@pfsense.org> | 2012-09-26 08:47:40 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-09-26 08:47:40 -0400 |
commit | 80c043fa48788950eef05eafe9ec25c19457db57 (patch) | |
tree | 37cb2f4fbd6f88a26cdf67eafce46606b794ac8d | |
parent | 767cf960f4f7f6f525d971f6247c663590c1637e (diff) | |
download | pfsense-80c043fa48788950eef05eafe9ec25c19457db57.zip pfsense-80c043fa48788950eef05eafe9ec25c19457db57.tar.gz |
Remove states before removing the old address, or the file will be gone and the code to kill the states won't ever run.
-rwxr-xr-x | sbin/dhclient-script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 5af4aa1..2481f8a 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -327,8 +327,8 @@ BOUND|RENEW|REBIND|REBOOT) changes="yes" fi if [ "$old_ip_address" != "$new_ip_address" ]; then - delete_old_address delete_old_states + delete_old_address delete_old_routes changes="yes" fi @@ -355,8 +355,8 @@ BOUND|RENEW|REBIND|REBOOT) EXPIRE|FAIL) delete_old_alias if [ -n "$old_ip_address" ]; then - delete_old_address delete_old_states + delete_old_address delete_old_routes fi ;; |