diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-01-19 21:09:05 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-01-19 21:09:05 +0000 |
commit | 6622a01ea3874e189d877c954f791259b8e6a504 (patch) | |
tree | 0e7e567e47f267fb0f90689e96fcb940d2c50a28 /extensions/ebt_ip.c | |
parent | 00bbac8669081e7f3650805eef75c089a2c97864 (diff) |
add ebtablesu scheme, along with general cleanup
Diffstat (limited to 'extensions/ebt_ip.c')
-rw-r--r-- | extensions/ebt_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |