openbsd-ports/net/libdnet/patches/patch-src_fw-pf_c
jsyn b8d9e60c77 update to libdnet-1.4, plus patch for pf_addr_wrap change in pfvar.h
note that your /usr/include/net/pfvar.h must be >= 1.68, or this will
not work -- ports-current tracks -current.

tag-team with Srebrenko Sehic <haver@insecure.dk>
2002-05-20 10:29:15 +00:00

16 lines
318 B
Plaintext

$OpenBSD: patch-src_fw-pf_c,v 1.1 2002/05/20 10:29:16 jsyn Exp $
--- src/fw-pf.c.orig Sun Jan 20 13:23:28 2002
+++ src/fw-pf.c Mon May 13 23:54:30 2002
@@ -25,6 +25,11 @@
#include <unistd.h>
#include "dnet.h"
+
+#ifdef PF_RULE_LABEL_SIZE
+/* XXX */
+#define addr addr.addr
+#endif
struct fw_handle {
int fd;