summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-14 01:25:22 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-14 01:25:22 -0500
commit594473698158b8fc8830fa2e8fc6ce3959bde81d (patch)
tree1b79f82852a227e2149bf944d47150a67cdef387 /usr
parent6f4c051cb8a6b9d3b897909e5c1f59be7e92edd1 (diff)
downloadpfsense-594473698158b8fc8830fa2e8fc6ce3959bde81d.zip
pfsense-594473698158b8fc8830fa2e8fc6ce3959bde81d.tar.gz
Auto-add firewall rules for DHCP Relay, same as is done for DHCP Server. Add filter reload to DHCP Relay config so rules are immediately added/removed. Ticket #4558
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_dhcp_relay.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php
index 607002c..82c1666 100644
--- a/usr/local/www/services_dhcp_relay.php
+++ b/usr/local/www/services_dhcp_relay.php
@@ -40,6 +40,7 @@
##|-PRIV
require("guiconfig.inc");
+require_once("filter.inc");
$pconfig['enable'] = isset($config['dhcrelay']['enable']);
if (empty($config['dhcrelay']['interface']))
@@ -97,6 +98,7 @@ if ($_POST) {
$retval = 0;
$retval = services_dhcrelay_configure();
$savemsg = get_std_save_message($retval);
+ filter_configure();
}
}
OpenPOWER on IntegriCloud