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:
Franco Fichtner 2016-11-21 06:58:18 +01:00
parent ff0dcc4d22
commit 5e1e138ff4
2 changed files with 3 additions and 2 deletions

View File

@ -27,9 +27,10 @@
*/
function shaper_services()
function ipfw_services()
{
global $config;
$services = array();
if (!empty($config['OPNsense']['TrafficShaper']['rules']['rule'])) {

View File

@ -26,7 +26,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
function firewall_services()
function pf_services()
{
global $config;