Commit 5e1e138f authored by Franco Fichtner's avatar Franco Fichtner

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.
parent ff0dcc4d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment