summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-07-16 20:54:07 -0400
committerScott Ullrich <sullrich@gmail.com>2011-07-16 20:55:30 -0400
commit0040bcfa59fe882a86b3c07c88685565cf2f17ec (patch)
tree949ad8816210580269e242dcb29fc5609b4e5064 /usr
parente5df770bb21116790c13fc7062941d4ee0031697 (diff)
downloadpfsense-0040bcfa59fe882a86b3c07c88685565cf2f17ec.zip
pfsense-0040bcfa59fe882a86b3c07c88685565cf2f17ec.tar.gz
Adding hook for interfaces allowing pfCenter and friends to add interfaces to the dropdown
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 6591ad1..0e61806 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -704,8 +704,10 @@ include("head.inc");
if (have_ruleint_access($ifgen['ifname']))
$interfaces[$ifgen['ifname']] = $ifgen['ifname'];
$ifdescs = get_configured_interface_with_descr();
+ // Allow extending of the firewall edit page and include custom input validation
+ pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_interfaces_edit");
foreach ($ifdescs as $ifent => $ifdesc)
- if(have_ruleint_access($ifent))
+ if(have_ruleint_access($ifent))
$interfaces[$ifent] = $ifdesc;
if ($config['l2tp']['mode'] == "server")
if(have_ruleint_access("l2tp"))
OpenPOWER on IntegriCloud