summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_queue
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnetfilter_queue')
-rw-r--r--include/libnetfilter_queue/libnetfilter_queue.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libnetfilter_queue/libnetfilter_queue.h b/include/libnetfilter_queue/libnetfilter_queue.h
index 6d31eea..93331e1 100644
--- a/include/libnetfilter_queue/libnetfilter_queue.h
+++ b/include/libnetfilter_queue/libnetfilter_queue.h
@@ -79,9 +79,8 @@ extern u_int32_t nfq_get_physoutdev(struct nfq_data *nfad);
extern struct nfqnl_msg_packet_hw *nfq_get_packet_hw(struct nfq_data *nfad);
-/* return 0 if problem */
-extern int nfq_get_payload(struct nfq_data *nfad,
- char ** data, unsigned int* datalen);
+/* return -1 if problem, length otherwise */
+extern int nfq_get_payload(struct nfq_data *nfad, char **data);