summaryrefslogtreecommitdiffstats
path: root/src/helpers/amanda.c
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-16 11:38:53 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-05-21 14:46:53 +0200
commit1c637fe7ea8a70a77273366d24e221b0d3d64702 (patch)
tree90234930e4bf139b35d76899376c0bafff511e13 /src/helpers/amanda.c
parent3c1b1e54a46ad31e6ee7e5d87eed84bd29d8f460 (diff)
src: Use stdint types
Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/helpers/amanda.c')
-rw-r--r--src/helpers/amanda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/amanda.c b/src/helpers/amanda.c
index c0cf701..9e6c4e7 100644
--- a/src/helpers/amanda.c
+++ b/src/helpers/amanda.c
@@ -34,7 +34,7 @@ static int nat_amanda(struct pkt_buff *pkt, uint32_t ctinfo,
struct nf_expect *exp)
{
char buffer[sizeof("65535")];
- u_int16_t port, initial_port;
+ uint16_t port, initial_port;
unsigned int ret;
const struct nf_conntrack *expected;
struct nf_conntrack *nat_tuple;
@@ -111,7 +111,7 @@ amanda_helper_cb(struct pkt_buff *pkt, uint32_t protoff,
struct nf_expect *exp;
char *data, *data_limit, *tmp;
unsigned int dataoff, i;
- u_int16_t port, len;
+ uint16_t port, len;
int ret = NF_ACCEPT;
struct iphdr *iph;
union nfct_attr_grp_addr saddr, daddr;