libpfctl: remove stray debug printf()

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2023-12-11 14:35:42 +01:00
parent 3c0fb026b2
commit 99bcbef25a

View file

@ -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) {
}