summaryrefslogtreecommitdiffstats
path: root/src/state_helper_tcp.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_tcp.c
parent4ddee9e2555817bd94521677e808caed665c3393 (diff)
Max Kellermann <max@duempel.org>:
fix shadow warnings by renaming variables or making them local
Diffstat (limited to 'src/state_helper_tcp.c')
-rw-r--r--src/state_helper_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state_helper_tcp.c b/src/state_helper_tcp.c
index af714dc..e0a51ee 100644
--- a/src/state_helper_tcp.c
+++ b/src/state_helper_tcp.c
@@ -22,8 +22,8 @@
static int tcp_verdict(const struct state_replication_helper *h,
const struct nf_conntrack *ct)
{
- u_int8_t state = nfct_get_attr_u8(ct, ATTR_TCP_STATE);
- if (h->state & (1 << state))
+ u_int8_t t_state = nfct_get_attr_u8(ct, ATTR_TCP_STATE);
+ if (h->state & (1 << t_state))
return ST_H_REPLICATE;
return ST_H_SKIP;