dect
/
libpcap
Archived
13
0
Fork 0

Not all systems have "sa_family_t"; use "u_int8_t" instead.

This commit is contained in:
guy 2004-04-02 06:33:30 +00:00
parent f20514f49f
commit 14645789a6
1 changed files with 2 additions and 2 deletions

4
pf.h
View File

@ -26,7 +26,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* @(#) $Header: /tcpdump/master/libpcap/Attic/pf.h,v 1.2 2004-03-28 20:27:16 fenner Exp $ (LBL)
* @(#) $Header: /tcpdump/master/libpcap/Attic/pf.h,v 1.3 2004-04-02 06:33:30 guy Exp $ (LBL)
*/
/* from $OpenBSD: pfvar.h,v 1.170 2003/08/22 21:50:34 david Exp $ */
@ -64,7 +64,7 @@ enum { PF_PASS=0, PF_DROP=1, PF_SCRUB=2, PF_NAT=3, PF_NONAT=4,
struct pfloghdr {
u_int8_t length;
sa_family_t af;
u_int8_t af;
u_int8_t action;
u_int8_t reason;
char ifname[IFNAMSIZ];