diff options
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebt_mark.c')
-rw-r--r-- | kernel/linux2.5/net/bridge/netfilter/ebt_mark.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c b/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c index 9edf7d2..47f90d9 100644 --- a/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c +++ b/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c @@ -8,9 +8,10 @@ * */ -// The mark target can be used in any chain -// I believe adding a mangle table just for marking is total overkill -// Marking a frame doesn't really change anything in the frame anyway +/* The mark target can be used in any chain, + * I believe adding a mangle table just for marking is total overkill. + * Marking a frame doesn't really change anything in the frame anyway. + */ #include <linux/netfilter_bridge/ebtables.h> #include <linux/netfilter_bridge/ebt_mark_t.h> @@ -46,8 +47,10 @@ static int ebt_target_mark_check(const char *tablename, unsigned int hookmask, static struct ebt_target mark_target = { - {NULL, NULL}, EBT_MARK_TARGET, ebt_target_mark, - ebt_target_mark_check, NULL, THIS_MODULE + .name = EBT_MARK_TARGET, + .target = ebt_target_mark, + .check = ebt_target_mark_check, + .me = THIS_MODULE }; static int __init init(void) |