From 64182a3092399c5cfd1ad6b2ad87f9f074354292 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 21 Jan 2004 20:39:54 +0000 Subject: add shared libraries --- extensions/ebt_mark_m.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/ebt_mark_m.c') diff --git a/extensions/ebt_mark_m.c b/extensions/ebt_mark_m.c index 1c18d9e..2cc371a 100644 --- a/extensions/ebt_mark_m.c +++ b/extensions/ebt_mark_m.c @@ -44,7 +44,7 @@ static int parse(int c, char **argv, int argc, const struct ebt_u_entry *entry, if (ebt_check_inverse(optarg)) markinfo->invert = 1; if (optind > argc) - print_error("No mark specified"); + ebt_print_error("No mark specified"); markinfo->mark = strtoul(argv[optind - 1], &end, 0); markinfo->bitmask = EBT_MARK_AND; if (*end == '/') { @@ -54,7 +54,8 @@ static int parse(int c, char **argv, int argc, const struct ebt_u_entry *entry, } else markinfo->mask = 0xffffffff; if ( *end != '\0' || end == argv[optind - 1]) - print_error("Bad mark value '%s'", argv[optind - 1]); + ebt_print_error("Bad mark value '%s'", + argv[optind - 1]); break; default: return 0; @@ -115,8 +116,7 @@ static struct ebt_u_match mark_match = .extra_ops = opts, }; -static void _init(void) __attribute((constructor)); -static void _init(void) +void _init(void) { ebt_register_match(&mark_match); } -- cgit v1.2.3