* [PATCH libnetfilter_log] libipulog: remove debugging printfs
@ 2023-09-03 21:03 Jeremy Sowden
2023-09-04 9:58 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2023-09-03 21:03 UTC (permalink / raw)
To: Netfilter Devel
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>
---
src/libipulog_compat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/libipulog_compat.c b/src/libipulog_compat.c
index a0de3cb78b68..4efa5012f197 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;
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-04 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 21:03 [PATCH libnetfilter_log] libipulog: remove debugging printfs Jeremy Sowden
2023-09-04 9:58 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox