diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-13 16:08:08 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-13 16:08:08 +0000 |
commit | 91700a08acd8f20f3e30a338993909c605e26487 (patch) | |
tree | 4d22552a17691cf493eaf194c9077672745bf615 /userspace/ebtables2/extensions/ebt_mark_m.c | |
parent | 15446509a5e6a78d851e979e7a3e49849ce92c69 (diff) |
cosmetic improvements and some bugfixes (global description)
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_mark_m.c')
-rw-r--r-- | userspace/ebtables2/extensions/ebt_mark_m.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/userspace/ebtables2/extensions/ebt_mark_m.c b/userspace/ebtables2/extensions/ebt_mark_m.c index 5029738..9ecb07e 100644 --- a/userspace/ebtables2/extensions/ebt_mark_m.c +++ b/userspace/ebtables2/extensions/ebt_mark_m.c @@ -1,6 +1,5 @@ #include <stdio.h> #include <stdlib.h> -#include <sys/socket.h> #include <string.h> #include <getopt.h> #include "../include/ebtables_u.h" @@ -25,9 +24,9 @@ static void init(struct ebt_entry_match *match) { struct ebt_mark_m_info *markinfo = (struct ebt_mark_m_info *)match->data; - markinfo->mark = 0; - markinfo->mask = 0; - markinfo->invert = 0; + markinfo->mark = 0; + markinfo->mask = 0; + markinfo->invert = 0; markinfo->bitmask = 0; } @@ -113,7 +112,7 @@ static struct ebt_u_match mark_match = final_check, print, compare, - opts, + opts }; static void _init(void) __attribute((constructor)); |