mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
HASync, add interface groups for https://github.com/opnsense/core/issues/3779
This commit is contained in:
parent
953ada8761
commit
c6cb6df8ff
@ -42,6 +42,14 @@ function pf_services()
|
||||
'nocheck' => true,
|
||||
'name' => 'pf',
|
||||
);
|
||||
$services[] = array(
|
||||
'description' => gettext('Interface groups'),
|
||||
'nocheck' => true,
|
||||
'php' => array(
|
||||
'start' => 'interfaces_group_setup'
|
||||
),
|
||||
'name' => 'ifgroups',
|
||||
);
|
||||
}
|
||||
|
||||
return $services;
|
||||
@ -167,3 +175,16 @@ function pf_firewall($fw)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function pf_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
|
||||
$result[] = array(
|
||||
'description' => gettext('Firewall Groups'),
|
||||
'section' => 'ifgroups.ifgroupentry',
|
||||
'id' => 'ifgroups',
|
||||
);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user