summaryrefslogtreecommitdiffstats
path: root/src/state_helper_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state_helper_tcp.c')
-rw-r--r--src/state_helper_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state_helper_tcp.c b/src/state_helper_tcp.c
index e0a51ee..88af35e 100644
--- a/src/state_helper_tcp.c
+++ b/src/state_helper_tcp.c
@@ -22,7 +22,7 @@
static int tcp_verdict(const struct state_replication_helper *h,
const struct nf_conntrack *ct)
{
- u_int8_t t_state = nfct_get_attr_u8(ct, ATTR_TCP_STATE);
+ uint8_t t_state = nfct_get_attr_u8(ct, ATTR_TCP_STATE);
if (h->state & (1 << t_state))
return ST_H_REPLICATE;