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-17 16:56:50 +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-17 16:56:50 +0000
commita8f06005be7e61f0562d8c36d953f688922edf01 (patch)
treea31a44f5788cc5f8677ad696216b8d9416bc53e6 /src/state_helper_tcp.c
parentf248d75e65247a39c29052bc3b4fbcc043a4967c (diff)
Max Kellermann <max@duempel.org>:
use C99 integers (uint32_t instead of u_int32_t)
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;