From 599c442e15747408b53464707c559171e0675f43 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Sat, 16 May 2015 14:45:23 +0200 Subject: src: Use stdint types everywhere Signed-off-by: Felix Janda Signed-off-by: Pablo Neira Ayuso --- utils/nfqnl_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils') diff --git a/utils/nfqnl_test.c b/utils/nfqnl_test.c index 2176a61..b760cf0 100644 --- a/utils/nfqnl_test.c +++ b/utils/nfqnl_test.c @@ -10,12 +10,12 @@ #include /* returns packet id */ -static u_int32_t print_pkt (struct nfq_data *tb) +static uint32_t print_pkt (struct nfq_data *tb) { int id = 0; struct nfqnl_msg_packet_hdr *ph; struct nfqnl_msg_packet_hw *hwph; - u_int32_t mark, ifi, uid, gid; + uint32_t mark, ifi, uid, gid; int ret; unsigned char *data; @@ -74,7 +74,7 @@ static u_int32_t print_pkt (struct nfq_data *tb) static int cb(struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_data *nfa, void *data) { - u_int32_t id = print_pkt(nfa); + uint32_t id = print_pkt(nfa); printf("entering callback\n"); return nfq_set_verdict(qh, id, NF_ACCEPT, 0, NULL); } -- cgit v1.2.3