summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-11-04 22:01:36 -0600
committerChris Buechler <cmb@pfsense.org>2014-11-04 22:01:36 -0600
commitcbc6a13fa3a7fd5790558d5526ba9cb6d2c74aad (patch)
treec76328fab6b037637edfa7f91eaced1cfe06ac0f
parentb7419cfc0bd677d1e5c254d1e5f9e098774b7af6 (diff)
downloadpfsense-cbc6a13fa3a7fd5790558d5526ba9cb6d2c74aad.zip
pfsense-cbc6a13fa3a7fd5790558d5526ba9cb6d2c74aad.tar.gz
Fix updating of hosts file on host override updates by bringing back the same behavior from previous releases.
-rw-r--r--etc/inc/services.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 2c41ab6..608d412 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1741,6 +1741,10 @@ function services_dnsmasq_configure() {
else
sleep(1);
+ /* generate hosts file */
+ if(system_hosts_generate()!=0)
+ $return = 1;
+
$args = "";
if (isset($config['dnsmasq']['regdhcp'])) {
OpenPOWER on IntegriCloud