Message ID | 20230903210357.2139250-1-jeremy@azazel.net |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [libnetfilter_log] libipulog: remove debugging printfs | expand |
On Sun, Sep 03, 2023 at 10:03:57PM +0100, Jeremy Sowden wrote: > There are a couple of `printf` calls which appear to be left over debugging > aids. Remove them. Applied, thanks
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;
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(-)