mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
util: remove unused function virFirewallApplyRuleFirewallD()
This was a wrapper to call a function in virfirewalld.c that sends an iptables passthrough rule to firewalld. It hasn't been used in a year or two, and won't ever be used in the future since passthrough rules are only supported for iptables, and we've determined that we shouldn't use iptables passthrough rules. Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
cd23bf182c
commit
2d1c22a015
@ -523,16 +523,6 @@ virFirewallApplyRuleDirect(virFirewallRule *rule,
|
||||
}
|
||||
|
||||
|
||||
static int G_GNUC_UNUSED
|
||||
virFirewallApplyRuleFirewallD(virFirewallRule *rule,
|
||||
bool ignoreErrors,
|
||||
char **output)
|
||||
{
|
||||
/* wrapper necessary because virFirewallRule is a private struct */
|
||||
return virFirewallDApplyRule(rule->layer, rule->args, rule->argsLen, ignoreErrors, output);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
virFirewallApplyRule(virFirewall *firewall,
|
||||
virFirewallRule *rule,
|
||||
|
Loading…
Reference in New Issue
Block a user