netfilter ebtables: fix xt_AUDIT to work with ebtables
authorThomas Graf <tgraf@redhat.com>
Wed, 16 Mar 2011 17:32:13 +0000 (18:32 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 16 Mar 2011 17:32:13 +0000 (18:32 +0100)
commit400b871ba623b5e8263a3a43de7b45fab0103a57
tree5c77a794cba654ddae9c5c480067d6d6b1a679aa
parent2f5dc63123905a89d4260ab8ee08d19ec104db04
netfilter ebtables: fix xt_AUDIT to work with ebtables

Even though ebtables uses xtables it still requires targets to
return EBT_CONTINUE instead of XT_CONTINUE. This prevented
xt_AUDIT to work as ebt module.

Upon Jan's suggestion, use a separate struct xt_target for
NFPROTO_BRIDGE having its own target callback returning
EBT_CONTINUE instead of cloning the module.

Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_AUDIT.c