mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
When dhclient renews the ip address and the ip has not changed then old_ip_address will not be set. Ignore this and do not reload all packages when the ip has not changed.
This commit is contained in:
parent
cffd2ea49b
commit
4a9dfa4453
@ -118,8 +118,9 @@ touch("/tmp/filter_dirty");
|
||||
enable_rrd_graphing();
|
||||
|
||||
/* restart packages */
|
||||
if($old_ip <> $curwanip)
|
||||
exec("/etc/rc.start_packages");
|
||||
if($old_ip <> "")
|
||||
if($old_ip <> $curwanip)
|
||||
exec("/etc/rc.start_packages");
|
||||
|
||||
/* reload slbd */
|
||||
/* if ($config['load_balancer']['lbpool']['type'] == "gateway") */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user