summaryrefslogtreecommitdiff
path: root/src/state_helper.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:01:46 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:01:46 +0000
commitba364998484de5a3ed37b843a8e34eacb2a21953 (patch)
tree30b97d5c20633b4cd5cdb9addebd36a481066fe6 /src/state_helper.c
parent4ddee9e2555817bd94521677e808caed665c3393 (diff)
downloadconntrack-tools-ba364998484de5a3ed37b843a8e34eacb2a21953.tar.gz
conntrack-tools-ba364998484de5a3ed37b843a8e34eacb2a21953.zip
Max Kellermann <max@duempel.org>:
fix shadow warnings by renaming variables or making them local
Diffstat (limited to 'src/state_helper.c')
-rw-r--r--src/state_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state_helper.c b/src/state_helper.c
index eba9d8f..de4cf48 100644
--- a/src/state_helper.c
+++ b/src/state_helper.c
@@ -35,10 +35,10 @@ int state_helper_verdict(int type, struct nf_conntrack *ct)
return ST_H_REPLICATE;
}
-void state_helper_register(struct state_replication_helper *h, int state)
+void state_helper_register(struct state_replication_helper *h, int h_state)
{
if (helper[h->proto] == NULL)
helper[h->proto] = h;
- helper[h->proto]->state |= (1 << state);
+ helper[h->proto]->state |= (1 << h_state);
}