From e8029a7880d3783bf9d4d3ee07c2b3f89ba87372 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org" Date: Sat, 5 Nov 2005 09:41:38 +0000 Subject: abstract 'nfattr' in 'nfnl_q_data' --- utils/nfqnl_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/nfqnl_test.c b/utils/nfqnl_test.c index 26de1c5..ccb5eff 100644 --- a/utils/nfqnl_test.c +++ b/utils/nfqnl_test.c @@ -8,7 +8,7 @@ #include /* returns packet id */ -static u_int32_t print_pkt (struct nfattr *tb[]) +static u_int32_t print_pkt (struct nfnl_q_data *tb) { int id = 0; struct nfqnl_msg_packet_hdr *ph; @@ -47,7 +47,7 @@ static u_int32_t print_pkt (struct nfattr *tb[]) static int cb(struct nfqnl_q_handle *qh, struct nfgenmsg *nfmsg, - struct nfattr *nfa[], void *data) + struct nfnl_q_data *nfa, void *data) { u_int32_t id = print_pkt(nfa); printf("entering callback\n"); -- cgit v1.2.3