From 9c16370646dcac6ba9803ffea4c552014f7eee11 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 14 Jan 2004 20:05:27 +0000 Subject: Make ebtables library functions --- userspace/ebtables2/extensions/ebt_pkttype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'userspace/ebtables2/extensions/ebt_pkttype.c') diff --git a/userspace/ebtables2/extensions/ebt_pkttype.c b/userspace/ebtables2/extensions/ebt_pkttype.c index 73f6e62..35bac29 100644 --- a/userspace/ebtables2/extensions/ebt_pkttype.c +++ b/userspace/ebtables2/extensions/ebt_pkttype.c @@ -57,8 +57,8 @@ static int parse(int c, char **argv, int argc, const struct ebt_u_entry *entry, switch (c) { case '1': - check_option(flags, 1); - if (check_inverse(optarg)) + ebt_check_option(flags, 1); + if (ebt_check_inverse(optarg)) ptinfo->invert = 1; if (optind > argc) print_error("Missing pkttype class specification"); @@ -132,5 +132,5 @@ static struct ebt_u_match pkttype_match = static void _init(void) __attribute((constructor)); static void _init(void) { - register_match(&pkttype_match); + ebt_register_match(&pkttype_match); } -- cgit v1.2.3