From 6622a01ea3874e189d877c954f791259b8e6a504 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 19 Jan 2005 21:09:05 +0000 Subject: add ebtablesu scheme, along with general cleanup --- extensions/ebt_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/ebt_ip.c') diff --git a/extensions/ebt_ip.c b/extensions/ebt_ip.c index 6d9233e..c81e687 100644 --- a/extensions/ebt_ip.c +++ b/extensions/ebt_ip.c @@ -209,7 +209,7 @@ static int parse(int c, char **argv, int argc, const struct ebt_u_entry *entry, ipinfo->invflags |= EBT_IP_PROTO; if (optind > argc) ebt_print_error("Missing IP protocol argument"); - (unsigned char) i = strtoul(argv[optind - 1], &end, 10); + i = strtoul(argv[optind - 1], &end, 10); if (*end != '\0') { struct protoent *pe; -- cgit v1.2.3