Subject: CVS commit: src/dist/pf/sbin/pflogd
To: None <source-changes@NetBSD.org>
From: Peter Postma <peter@netbsd.org>
List: source-changes
Date: 03/15/2005 16:26:49
Module Name:	src
Committed By:	peter
Date:		Tue Mar 15 16:26:49 UTC 2005

Modified Files:
	src/dist/pf/sbin/pflogd: pflogd.c pflogd.h privsep.c

Log Message:
Changes to build on NetBSD:

* #ifdef out some things we don't have or do differently.
* Write struct "pcap_sf_pkthdr" instead of "pcap_pkthdr".
  Fixes an LP64 specific problem with reading the pflog with tcpdump(8).
  (OpenBSD fixed this by changing the structs to always use 32-bit fields)

Reviewed by yamt@.


To generate a diff of this commit:
cvs rdiff -r1.1.1.2 -r1.2 src/dist/pf/sbin/pflogd/pflogd.c \
    src/dist/pf/sbin/pflogd/privsep.c
cvs rdiff -r1.1.1.1 -r1.2 src/dist/pf/sbin/pflogd/pflogd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.