summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/extensions/ebt_ip.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-01-19 21:09:05 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-01-19 21:09:05 +0000
commit98984a8c623b592ddfb3b30ac92615422849eab3 (patch)
tree04f8b52a474e2ea45a4e3527369233ce783883a2 /userspace/ebtables2/extensions/ebt_ip.c
parent0c7965d9957b91c1027255de29e81f408f8ca8a7 (diff)
add ebtablesu scheme, along with general cleanup
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_ip.c')
-rw-r--r--userspace/ebtables2/extensions/ebt_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/extensions/ebt_ip.c b/userspace/ebtables2/extensions/ebt_ip.c
index 6d9233e..c81e687 100644
--- a/userspace/ebtables2/extensions/ebt_ip.c
+++ b/userspace/ebtables2/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;