mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
libpfctl: remove stray debug printf()
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
3c0fb026b2
commit
99bcbef25a
|
@ -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) {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue