summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-08-15 09:01:00 +0000
committerErmal <eri@pfsense.org>2013-08-15 09:01:09 +0000
commita38b4bfb40242d2c964346437b39282c2d7e157f (patch)
tree7b7df454beb5cdcf2d844fe837eea85c79704c4b /etc/rc.filter_synchronize
parentf7496377d31cb75b66a92c977b82584af5591b46 (diff)
downloadpfsense-a38b4bfb40242d2c964346437b39282c2d7e157f.zip
pfsense-a38b4bfb40242d2c964346437b39282c2d7e157f.tar.gz
Synchronize dhcpv6 as well if dhcp sync setting is on. Reported-by: http://forum.pfsense.org/index.php/topic,65487.0.html
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index 318eaf4..d741640 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -322,6 +322,8 @@ if (is_array($config['hasync'])) {
}
if ($hasync['synchronizedhcpd'] != "" and is_array($config['dhcpd']))
$sections[] = 'dhcpd';
+ if ($hasync['synchronizedhcpd'] != "" and is_array($config['dhcpdv6']))
+ $sections[] = 'dhcpdv6';
if ($hasync['synchronizewol'] != "") {
if (!is_array($config['wol']))
$config['wol'] = array();
OpenPOWER on IntegriCloud