summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2023-09-03 22:03:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-09-04 11:59:45 +0200
commit67b546e01469060c398a49a8ce1ff2c9073db526 (patch)
tree0f32594205e17185eec2ce2df45154b18910cfab
parentbd26974f774a080a4400d0bc0854ca467bf6e2d7 (diff)
libipulog: remove debugging printfsHEADmaster
There are a couple of `printf` calls which appear to be left over debugging aids. Remove them. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1060 Fixes: 9b5887192ed5 ("- some more work on libipulog compat API [almost finished] - improt ulog_test.c from libipulog in order to test libipulog compat API") Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/libipulog_compat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libipulog_compat.c b/src/libipulog_compat.c
index a0de3cb..4efa501 100644
--- a/src/libipulog_compat.c
+++ b/src/libipulog_compat.c
@@ -133,10 +133,9 @@ ulog_packet_msg_t *ipulog_get_packet(struct ipulog_handle *h,
struct nfulnl_msg_packet_hdr *hdr;
if (!h->last_nlh) {
- printf("first\n");
nlh = nfnl_get_msg_first(nflog_nfnlh(h->nfulh), buf, len);
}else {
-next_msg: printf("next\n");
+next_msg:
nlh = nfnl_get_msg_next(nflog_nfnlh(h->nfulh), buf, len);
}
h->last_nlh = nlh;