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(a)redhat.com>
---
src/util/virfirewall.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/util/virfirewall.c b/src/util/virfirewall.c
index 3183e0aec7..0a9ba9ad5c 100644
--- a/src/util/virfirewall.c
+++ b/src/util/virfirewall.c
@@ -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,
--
2.37.1