summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-07-18 12:26:51 -0400
committerScott Ullrich <sullrich@gmail.com>2011-07-18 12:26:51 -0400
commita1dece5eb8bb7d52d56b54bc789abb9727cb85c5 (patch)
tree83e44896cb58dece210d1657f075ce9a0588c387 /usr/local/www/firewall_nat_edit.php
parenta41e80f98b6ba200e3d922c408c8a6239b1e1fe5 (diff)
downloadpfsense-a1dece5eb8bb7d52d56b54bc789abb9727cb85c5.zip
pfsense-a1dece5eb8bb7d52d56b54bc789abb9727cb85c5.tar.gz
Adding hook for interfaces edit
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 5aa069c..e660645 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -476,6 +476,8 @@ include("fbegin.inc"); ?>
<?php
$iflist = get_configured_interface_with_descr(false, true);
+ // Allow extending of the firewall edit interfaces
+ pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_interfaces_edit");
foreach ($iflist as $if => $ifdesc)
if(have_ruleint_access($if))
$interfaces[$if] = $ifdesc;
OpenPOWER on IntegriCloud