freebsd-dev/lib/libpfctl
Kristof Provost 514039bb90 libpfct: Return errno from pfctl_add_eth_rule()
If the pfctl_add_eth_rule() ioctl fails return the errno, not the error
returned by ioctl(). That will give us slightly more insight into what
went wrong, because ioctl() would always return -1.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2022-03-30 10:28:19 +02:00
..
libpfctl.c libpfct: Return errno from pfctl_add_eth_rule() 2022-03-30 10:28:19 +02:00
libpfctl.h pf: support listing ethernet anchors 2022-03-30 10:28:19 +02:00
Makefile libpfct: Fix PIC flag 2021-04-17 22:10:13 +02:00