mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove states before removing the old address, or the file will be gone and the code to kill the states won't ever run.
This commit is contained in:
parent
767cf960f4
commit
80c043fa48
@ -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
|
||||
;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user