diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
commit | 8339ff1d7d8694153e2daac032c0999fbf04aad9 (patch) | |
tree | 48d3400eb6d6ea2fc08c0680e328947a986f1b7d /extensions/ebt_mark_m.c | |
parent | 464e7d9b2e853441282addc7484e5eee7d825514 (diff) |
Make ebtables library functions
Diffstat (limited to 'extensions/ebt_mark_m.c')
-rw-r--r-- | extensions/ebt_mark_m.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/ebt_mark_m.c b/extensions/ebt_mark_m.c index 0d14d76..1c18d9e 100644 --- a/extensions/ebt_mark_m.c +++ b/extensions/ebt_mark_m.c @@ -40,8 +40,8 @@ static int parse(int c, char **argv, int argc, const struct ebt_u_entry *entry, switch (c) { case MARK: - check_option(flags, MARK); - if (check_inverse(optarg)) + ebt_check_option(flags, MARK); + if (ebt_check_inverse(optarg)) markinfo->invert = 1; if (optind > argc) print_error("No mark specified"); @@ -118,5 +118,5 @@ static struct ebt_u_match mark_match = static void _init(void) __attribute((constructor)); static void _init(void) { - register_match(&mark_match); + ebt_register_match(&mark_match); } |