diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-06-24 19:53:34 +0200 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2015-06-26 09:12:55 +0200 |
commit | c9337b31f756cae85299c8275b21088ce02885e2 (patch) | |
tree | 21a2161706fd42a7ba3c330e9ec0485f40ecd42b /filter/ulogd_filter_PWSNIFF.c | |
parent | 8a6ddd1cb2b55c234f1a97f7e5d996f24f46b6f8 (diff) |
Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Diffstat (limited to 'filter/ulogd_filter_PWSNIFF.c')
-rw-r--r-- | filter/ulogd_filter_PWSNIFF.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/ulogd_filter_PWSNIFF.c b/filter/ulogd_filter_PWSNIFF.c index a3e2b42..934ff0e 100644 --- a/filter/ulogd_filter_PWSNIFF.c +++ b/filter/ulogd_filter_PWSNIFF.c @@ -39,7 +39,7 @@ #define PORT_POP3 110 #define PORT_FTP 21 -static u_int16_t pwsniff_ports[] = { +static uint16_t pwsniff_ports[] = { PORT_POP3, PORT_FTP, /* feel free to include any other ports here, provided that their @@ -72,7 +72,7 @@ static int interp_pwsniff(struct ulogd_pluginstance *pi) return ULOGD_IRET_STOP; iph = (struct iphdr *) pi->input.keys[0].u.value.ptr; - protoh = (u_int32_t *)iph + iph->ihl; + protoh = (uint32_t *)iph + iph->ihl; tcph = protoh; tcplen = ntohs(iph->tot_len) - iph->ihl * 4; |