Don't rely on properly setup linker.hints to figure out that pflog is now

part of the pf module.
While here fix a comment that was c'n'ped from rc.d/pf

PR:		bin/71096 (partly)
Submitted by:	Ville-Pertti Keinonen
MFC after:	2 days
This commit is contained in:
mlaier 2004-08-31 14:23:51 +00:00
parent 7606a6f154
commit a95ab76a03

View File

@ -27,7 +27,7 @@ pflog_prestart()
{
# load pflog kernel module if needed
if ! kldstat -v | grep -q pflog\$; then
if kldload pflog; then
if kldload pf; then
info 'pflog module loaded.'
else
err 1 'pflog module failed to load.'
@ -39,7 +39,7 @@ pflog_prestart()
warn 'pflog: COULD NOT SET UP pflog0'
fi
# check for pf rules
# check for pflogd binary
if [ ! -x "${pflog_program:-/sbin/pflogd}" ]
then
warn 'pflog: NO PFLOGD BINARY FOUND'