diff options
author | Ermal <eri@pfsense.org> | 2010-09-30 16:52:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-09-30 16:52:25 +0000 |
commit | 3640c5676522f993d15a55f6d12852276bd9440d (patch) | |
tree | cc49dfa1b0d16a029403812b7a2fdfddd8ba8c32 /etc/rc.newwanip | |
parent | a02708b12becb467d2d1ce4a60802e1d804d670b (diff) | |
download | pfsense-3640c5676522f993d15a55f6d12852276bd9440d.zip pfsense-3640c5676522f993d15a55f6d12852276bd9440d.tar.gz |
Ticket #921. Actually reconfigure apinger in case of newip event because it might impact a previous down event.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 9d3d484..c018cb0 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -78,15 +78,15 @@ system_resolvconf_generate(true); file_put_contents("{$g['vardb_path']}/{$interface}_ip", $curwanip); file_put_contents("{$g['vardb_path']}/{$interface}_cacheip", $curwanip); -if (is_ipaddr($oldip) && $curwanip == $oldip) - exit; - /* reconfigure static routes (kernel may have deleted them) */ system_routing_configure($interface); /* reconfigure our gateway monitor */ setup_gateways_monitor(); +if (is_ipaddr($oldip) && $curwanip == $oldip) + exit; + /* perform RFC 2136 DNS update */ services_dnsupdate_process($interface); |