1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

Removes the ebtablesSaveRules() function

As it was basically unimplemented and more confusing than useful
at the moment.
* src/libvirt_private.syms: remove from internal symbols list
* src/qemu/qemu_bridge_filter.c src/util/ebtables.c: remove code and
  one use of the unimplemented function
This commit is contained in:
Gerhard Stenzel 2009-11-09 15:30:15 +01:00 committed by Daniel Veillard
parent 0f04b58730
commit df4c57ae27
3 changed files with 0 additions and 24 deletions

View File

@ -180,7 +180,6 @@ ebtablesAddForwardAllowIn;
ebtablesAddForwardPolicyReject;
ebtablesContextNew;
ebtablesRemoveForwardAllowIn;
ebtablesSaveRules;
# event.h

View File

@ -44,7 +44,6 @@ networkAddEbtablesRules(struct qemud_driver *driver) {
__FILE__);
return err;
}
ebtablesSaveRules(driver->ebtables);
return 0;
}

View File

@ -64,12 +64,6 @@ enum {
INSERT
};
static void
ebtRulesSave(ebtRules *rules)
{
(void) rules;
}
static void
ebtRuleFree(ebtRule *rule)
{
@ -315,22 +309,6 @@ ebtablesContextFree(ebtablesContext *ctx)
VIR_FREE(ctx);
}
/**
* ebtablesSaveRules:
* @ctx: pointer to the EB table context
*
* Saves all the EB table rules associated with a context
* to disk so that if ebtables is restarted, the rules
* will automatically be reload.
*/
void
ebtablesSaveRules(ebtablesContext *ctx)
{
ebtRulesSave(ctx->input_filter);
ebtRulesSave(ctx->forward_filter);
ebtRulesSave(ctx->nat_postrouting);
}
int
ebtablesAddForwardPolicyReject(ebtablesContext *ctx)
{