summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/extensions/ebt_mark.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2004-01-14 20:05:27 +0000
committerBart De Schuymer <bdschuym@pandora.be>2004-01-14 20:05:27 +0000
commit9c16370646dcac6ba9803ffea4c552014f7eee11 (patch)
tree6bf8e02c571f1502c20489248e36890d9e9b3291 /userspace/ebtables2/extensions/ebt_mark.c
parent8c80b19bc2abf6f6cebc64018b0097a33548135d (diff)
Make ebtables library functions
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_mark.c')
-rw-r--r--userspace/ebtables2/extensions/ebt_mark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/userspace/ebtables2/extensions/ebt_mark.c b/userspace/ebtables2/extensions/ebt_mark.c
index 6fa26f8..c40b9fd 100644
--- a/userspace/ebtables2/extensions/ebt_mark.c
+++ b/userspace/ebtables2/extensions/ebt_mark.c
@@ -46,12 +46,12 @@ static int parse(int c, char **argv, int argc,
switch (c) {
case MARK_TARGET:
- check_option(flags, OPT_MARK_TARGET);
+ ebt_check_option(flags, OPT_MARK_TARGET);
if (FILL_TARGET(optarg, markinfo->target))
print_error("Illegal --mark-target target");
break;
case MARK_SETMARK:
- check_option(flags, OPT_MARK_SETMARK);
+ ebt_check_option(flags, OPT_MARK_SETMARK);
markinfo->mark = strtoul(optarg, &end, 0);
if (*end != '\0' || end == optarg)
print_error("Bad MARK value '%s'", optarg);
@@ -116,5 +116,5 @@ static struct ebt_u_target mark_target =
static void _init(void) __attribute__ ((constructor));
static void _init(void)
{
- register_target(&mark_target);
+ ebt_register_target(&mark_target);
}