opnsense-ports/net/dhcpd/files/extra-patch-pfutils.c
Franco Fichtner fd2960e190 */*: sync with upstream
Taken from: HardenedBSD
2018-07-05 08:15:34 +02:00

16 lines
356 B
C

--- pfutils.c.orig 2018-06-06 08:53:18 UTC
+++ pfutils.c
@@ -15,6 +15,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef NO_PF /* No need of PF support */
+
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
@@ -254,3 +256,4 @@ pfmsg(char c, struct lease *lp)
break;
}
}
+#endif /* NO_PF */