diff options
author | max <max@FreeBSD.org> | 1997-01-08 23:11:44 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-08 23:11:44 +0000 |
commit | 1f9a1bbe298b83320bbee795995205731cea5d35 (patch) | |
tree | 102bedcf90fa849f426c53c40e90949fd4da2f02 /net | |
parent | c093690dfda595fd851519d6bd7544d4d9375bbb (diff) | |
download | FreeBSD-ports-1f9a1bbe298b83320bbee795995205731cea5d35.zip FreeBSD-ports-1f9a1bbe298b83320bbee795995205731cea5d35.tar.gz |
Make support/ethertalk/bpfiltp.c include net/if_var.h. This is due to
the changes made to if_ether.h.
Noticed by: phk
Diffstat (limited to 'net')
-rw-r--r-- | net/cap/files/patch-ad | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/net/cap/files/patch-ad b/net/cap/files/patch-ad index 0caf96f..6e774d6 100644 --- a/net/cap/files/patch-ad +++ b/net/cap/files/patch-ad @@ -1,6 +1,14 @@ ---- support/ethertalk/bpfiltp.c.orig Mon Nov 25 13:06:49 1996 -+++ support/ethertalk/bpfiltp.c Mon Nov 25 13:08:07 1996 -@@ -63,6 +63,9 @@ +--- 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 @@ + #include <net/if.h> + #include <net/bpf.h> + #include <netinet/in.h> ++#include <net/if_var.h> + #include <netinet/if_ether.h> + #include <netdb.h> + #include <ctype.h> +@@ -63,6 +64,9 @@ #ifdef __FreeBSD__ #define MULTI_BPF_PKT #define USE_SIOCGIFCONF @@ -10,7 +18,7 @@ #endif __FreeBSD__ #ifdef NeXT -@@ -785,7 +788,7 @@ +@@ -785,7 +789,7 @@ bcopy(eaddr, &eh.ether_dhost, 6); #ifdef PHASE2 @@ -19,7 +27,7 @@ /* This should really be fixed in the kernel. */ eh.ether_type = buflen; #else -@@ -806,7 +809,7 @@ +@@ -806,7 +810,7 @@ *q++ = (eph->protocol >> 8) & 0xff; *q++ = (eph->protocol & 0xff); #else PHASE2 |