summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp_relay.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-14 01:37:12 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-14 01:37:12 -0500
commit1ab880ef232ee94d08700f3ca3717ad69fcdb247 (patch)
tree8c9af260a05c8800ec97771d4945af11e178b01b /src/usr/local/www/services_dhcp_relay.php
parent66999e391c6f212c8133cb0e491eb6fd0df43f56 (diff)
downloadpfsense-1ab880ef232ee94d08700f3ca3717ad69fcdb247.zip
pfsense-1ab880ef232ee94d08700f3ca3717ad69fcdb247.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 'src/usr/local/www/services_dhcp_relay.php')
-rw-r--r--src/usr/local/www/services_dhcp_relay.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcp_relay.php b/src/usr/local/www/services_dhcp_relay.php
index aaa9c2a..de26aa5 100644
--- a/src/usr/local/www/services_dhcp_relay.php
+++ b/src/usr/local/www/services_dhcp_relay.php
@@ -66,6 +66,7 @@
##|-PRIV
require("guiconfig.inc");
+require_once("filter.inc");
require_once('classes/Form.class.php');
$pconfig['enable'] = isset($config['dhcrelay']['enable']);
@@ -147,7 +148,7 @@ if ($_POST) {
$retval = 0;
$retval = services_dhcrelay_configure();
$savemsg = get_std_save_message($retval);
-
+ filter_configure();
}
}
@@ -226,4 +227,4 @@ else {
$form->add($section);
print $form;
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud