Project

General

Profile

« Previous | Next » 

Revision 0040bcfa

Added by Scott Ullrich almost 14 years ago

Adding hook for interfaces allowing pfCenter and friends to add interfaces to the dropdown

View differences:

usr/local/www/firewall_rules_edit.php
704 704
						if (have_ruleint_access($ifgen['ifname']))
705 705
							$interfaces[$ifgen['ifname']] = $ifgen['ifname'];
706 706
				$ifdescs = get_configured_interface_with_descr();
707
				// Allow extending of the firewall edit page and include custom input validation 
708
				pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_interfaces_edit");
707 709
				foreach ($ifdescs as $ifent => $ifdesc)
708
        				if(have_ruleint_access($ifent))
710
					if(have_ruleint_access($ifent))
709 711
							$interfaces[$ifent] = $ifdesc;
710 712
					if ($config['l2tp']['mode'] == "server")
711 713
						if(have_ruleint_access("l2tp"))

Also available in: Unified diff