diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2006-05-22 20:10:22 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2006-05-22 20:10:22 +0000 |
commit | 57c6018af541da18c8b750b4ceb2894a1dd37a2f (patch) | |
tree | 2fb6fdb1450674187ecbd957cd5bbe26442ea383 /src/conntrack.c | |
parent | 4665a2b1f2b4818a9c38e16ee980552f447324d4 (diff) | |
download | conntrack-tools-57c6018af541da18c8b750b4ceb2894a1dd37a2f.tar.gz conntrack-tools-57c6018af541da18c8b750b4ceb2894a1dd37a2f.zip |
[PATCH] conntrack: Fix option parsing for ARM (Philip Craig
<philipc@snapgear.com>)
The result of getopt_long() was assigned to a char, which defaults to unsigned
Diffstat (limited to 'src/conntrack.c')
-rw-r--r-- | src/conntrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 2105561..3e0643c 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -602,7 +602,7 @@ static struct nfct_conntrack_compare cmp; int main(int argc, char *argv[]) { - char c; + int c; unsigned int command = 0, options = 0; unsigned int type = 0, event_mask = 0; unsigned int l3flags = 0, l4flags = 0, metaflags = 0; |