From 91700a08acd8f20f3e30a338993909c605e26487 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Tue, 13 Aug 2002 16:08:08 +0000 Subject: cosmetic improvements and some bugfixes (global description) --- userspace/ebtables2/extensions/ebt_standard.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'userspace/ebtables2/extensions/ebt_standard.c') diff --git a/userspace/ebtables2/extensions/ebt_standard.c b/userspace/ebtables2/extensions/ebt_standard.c index 95e00a5..01f5b8c 100644 --- a/userspace/ebtables2/extensions/ebt_standard.c +++ b/userspace/ebtables2/extensions/ebt_standard.c @@ -1,6 +1,5 @@ #include #include -#include #include #include "../include/ebtables_u.h" @@ -11,7 +10,8 @@ static struct option opts[] = static void print_help() { - printf("Standard targets: DROP, ACCEPT and CONTINUE\n"); + printf("Standard targets: DROP, ACCEPT, RETURN or CONTINUE;\n" + "The target can also be a user defined chain.\n"); } static void init(struct ebt_entry_target *t) @@ -32,6 +32,7 @@ static void final_check(const struct ebt_u_entry *entry, } struct ebt_u_entries *nr_to_chain(int nr); + static void print(const struct ebt_u_entry *entry, const struct ebt_entry_target *target) { @@ -53,7 +54,7 @@ static void print(const struct ebt_u_entry *entry, else if (verdict == EBT_RETURN) printf("RETURN "); else - print_error("BUG: Bad standard target"); // this is a bug + print_bug("Bad standard target"); } static int compare(const struct ebt_entry_target *t1, -- cgit v1.2.3