mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
ipset-pf-support, fix to log error on failure to open pf.
This commit is contained in:
parent
2279cde8f7
commit
97ad1df343
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ static void * open_filter() {
|
|||
|
||||
dev = open("/dev/pf", O_RDWR);
|
||||
if (dev == -1) {
|
||||
log_err("open(\"/dev/pf\") failed");
|
||||
log_err("open(\"/dev/pf\") failed: %s", strerror(errno));
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue