From 80c043fa48788950eef05eafe9ec25c19457db57 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 26 Sep 2012 08:47:40 -0400 Subject: Remove states before removing the old address, or the file will be gone and the code to kill the states won't ever run. --- sbin/dhclient-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin') 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 ;; -- cgit v1.1