aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-10 10:56:29 +0800
committermax <max@FreeBSD.org>1997-01-10 10:56:29 +0800
commitc10663c2ccc89d812e9feedc06613f310d381c5e (patch)
tree9747747676362cd050bef10f04aed4328c403085 /net
parent61fa8e088a85825c4fbfb7aaca6d757df3ca9d32 (diff)
downloadfreebsd-ports-graphics-c10663c2ccc89d812e9feedc06613f310d381c5e.tar.gz
freebsd-ports-graphics-c10663c2ccc89d812e9feedc06613f310d381c5e.tar.zst
freebsd-ports-graphics-c10663c2ccc89d812e9feedc06613f310d381c5e.zip
Make bpfiltp.c include net/ethernet.h instead of if_{var,ether}.h.
Suggested by: wollman
Diffstat (limited to 'net')
-rw-r--r--net/cap/files/patch-ad17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/cap/files/patch-ad b/net/cap/files/patch-ad
index 6e774d63f82..a52bbae9070 100644
--- a/net/cap/files/patch-ad
+++ b/net/cap/files/patch-ad
@@ -1,14 +1,15 @@
---- support/ethertalk/bpfiltp.c.orig Thu Jan 9 07:46:14 1997
-+++ support/ethertalk/bpfiltp.c Thu Jan 9 07:53:14 1997
-@@ -41,6 +41,7 @@
+--- support/ethertalk/bpfiltp.c.orig Fri Jan 10 10:29:53 1997
++++ support/ethertalk/bpfiltp.c Fri Jan 10 11:24:11 1997
+@@ -41,7 +41,7 @@
#include <net/if.h>
#include <net/bpf.h>
#include <netinet/in.h>
-+#include <net/if_var.h>
- #include <netinet/if_ether.h>
+-#include <netinet/if_ether.h>
++#include <net/ethernet.h>
#include <netdb.h>
#include <ctype.h>
-@@ -63,6 +64,9 @@
+
+@@ -63,6 +63,9 @@
#ifdef __FreeBSD__
#define MULTI_BPF_PKT
#define USE_SIOCGIFCONF
@@ -18,7 +19,7 @@
#endif __FreeBSD__
#ifdef NeXT
-@@ -785,7 +789,7 @@
+@@ -785,7 +788,7 @@
bcopy(eaddr, &eh.ether_dhost, 6);
#ifdef PHASE2
@@ -27,7 +28,7 @@
/* This should really be fixed in the kernel. */
eh.ether_type = buflen;
#else
-@@ -806,7 +810,7 @@
+@@ -806,7 +809,7 @@
*q++ = (eph->protocol >> 8) & 0xff;
*q++ = (eph->protocol & 0xff);
#else PHASE2