diff options
Diffstat (limited to 'src/state_helper_tcp.c')
-rw-r--r-- | src/state_helper_tcp.c | 4 |
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; |