summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:15:07 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:15:07 +0000
commit87a7abff5718427c247fb7b5e2834ca4f09e64c5 (patch)
tree96fd588b40879665c9f2a21ce8fd4d8c290697aa /src
parent800c6646e0f748bad3c52ac7f20e38a1583d8bdb (diff)
nfnl_handle must be const in nfnl_rcvbufsizsvn_t_libnfnetlink-0.0.33origin
Diffstat (limited to 'src')
-rw-r--r--src/libnfnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnfnetlink.c b/src/libnfnetlink.c
index f9ab87f..6b91631 100644
--- a/src/libnfnetlink.c
+++ b/src/libnfnetlink.c
@@ -958,7 +958,7 @@ void nfnl_build_nfa_iovec(struct iovec *iov, struct nfattr *nfa,
*
* This function returns the new size of the socket buffer.
*/
-unsigned int nfnl_rcvbufsiz(struct nfnl_handle *h, unsigned int size)
+unsigned int nfnl_rcvbufsiz(const struct nfnl_handle *h, unsigned int size)
{
int status;
socklen_t socklen = sizeof(size);