The branch main has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=99bcbef25a7a96f3d4525cc48bf9f0a177194694

commit 99bcbef25a7a96f3d4525cc48bf9f0a177194694
Author:     Kristof Provost <[email protected]>
AuthorDate: 2023-12-11 13:35:42 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2023-12-11 15:53:38 +0000

    libpfctl: remove stray debug printf()
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 lib/libpfctl/libpfctl.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c
index 513d2d0f01be..10a63f15e2f8 100644
--- a/lib/libpfctl/libpfctl.c
+++ b/lib/libpfctl/libpfctl.c
@@ -1108,10 +1108,8 @@ pfctl_add_rule(int dev __unused, const struct pfctl_rule 
*r, const char *anchor,
 
        seq_id = hdr->nlmsg_seq;
 
-       if (! snl_send_message(&ss, hdr)) {
-               printf("Send failed\n");
+       if (! snl_send_message(&ss, hdr))
                return (ENXIO);
-       }
 
        while ((hdr = snl_read_reply_multi(&ss, seq_id, &e)) != NULL) {
        }

Reply via email to