mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
plugin: name by underlying system, not surfacing service
IPFW and PF are used for more than just firewall and shaper, e.g. NAT, policy routing or shaping, and the plugin framework supports registering multiple user-facing services per file.
This commit is contained in:
parent
ff0dcc4d22
commit
5e1e138ff4
@ -27,9 +27,10 @@
|
||||
*/
|
||||
|
||||
|
||||
function shaper_services()
|
||||
function ipfw_services()
|
||||
{
|
||||
global $config;
|
||||
|
||||
$services = array();
|
||||
|
||||
if (!empty($config['OPNsense']['TrafficShaper']['rules']['rule'])) {
|
||||
@ -26,7 +26,7 @@
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
function firewall_services()
|
||||
function pf_services()
|
||||
{
|
||||
global $config;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user