summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-05-23 10:36:33 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-05-23 10:36:33 +0200
commit6b71deec45bd5cd40df92a7ebca2a6666cda203b (patch)
tree59f0083c28d6a2bf1477d2f87c0596a35dc482e9
parentaeaeb9ff5d44b196b8a4cb3d19bb3b75d176ed4e (diff)
ipset_mnl_query: in debug mode print the errno returned by the cb function
-rw-r--r--lib/mnl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnl.c b/lib/mnl.c
index a1c70fd..75cadb6 100644
--- a/lib/mnl.c
+++ b/lib/mnl.c
@@ -104,7 +104,7 @@ ipset_mnl_query(struct ipset_handle *handle, void *buffer, size_t len)
handle->cb_ctl[NLMSG_MIN_TYPE],
handle->data,
handle->cb_ctl, NLMSG_MIN_TYPE);
- D("nfln_cb_run2, ret: %d", ret);
+ D("nfln_cb_run2, ret: %d, errno %d", ret, errno);
if (ret <= 0)
break;
ret = mnl_socket_recvfrom(handle->h, buffer, len);