summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-08-14 23:03:34 +0100
committerRenato Botelho <renato@netgate.com>2016-09-02 10:30:10 -0300
commit8221f09c269efa2aff2e3518cc43dd0750d08526 (patch)
tree6c6d70da2fcef865177f56f5c52468c77ba014e6 /src/usr/local/www
parentb9e9778a5bdac6ffbfd375a60b8cd8c26257640c (diff)
downloadpfsense-8221f09c269efa2aff2e3518cc43dd0750d08526.zip
pfsense-8221f09c269efa2aff2e3518cc43dd0750d08526.tar.gz
Call services_dhcpd_configure with the right parameter
Previously code segment for v4 would call both v4 and v6. Fixed to call v4 and v6 where appropriate. (cherry picked from commit 6756052b595b470ce064a44095ec12ce5abe789c)
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/interfaces_assign.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php
index 3050d99..f4d1e5d 100644
--- a/src/usr/local/www/interfaces_assign.php
+++ b/src/usr/local/www/interfaces_assign.php
@@ -435,12 +435,12 @@ if (isset($_POST['add']) && isset($_POST['if_add'])) {
if (is_array($config['dhcpd']) && is_array($config['dhcpd'][$id])) {
unset($config['dhcpd'][$id]);
- services_dhcpd_configure();
+ services_dhcpd_configure('inet');
}
if (is_array($config['dhcpdv6']) && is_array($config['dhcpdv6'][$id])) {
unset($config['dhcpdv6'][$id]);
- services_dhcpdv6_configure();
+ services_dhcpd_configure('inet6');
}
if (count($config['filter']['rule']) > 0) {
OpenPOWER on IntegriCloud