mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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
|
static int
|
||||||
virFirewallApplyRule(virFirewall *firewall,
|
virFirewallApplyRule(virFirewall *firewall,
|
||||||
virFirewallRule *rule,
|
virFirewallRule *rule,
|
||||||
|
Loading…
Reference in New Issue
Block a user