kernel/pf: In the ioctl code, make sure NPFLOG is actually defined.
authorSascha Wildner <saw@online.de>
Fri, 17 Feb 2012 11:22:26 +0000 (12:22 +0100)
committerSascha Wildner <saw@online.de>
Fri, 17 Feb 2012 11:22:26 +0000 (12:22 +0100)
commitcc16352affe78fcf348e614f6d8eba49eeae56c9
tree47f9f8f9f08d886c8bfa7ed62001b56cc0297252
parentb0dfaa52bd0221f4e25520df7c2faa02d0a57c7d
kernel/pf: In the ioctl code, make sure NPFLOG is actually defined.

The inclusion of if_pflog.h was conditionalized on NPFLOG but it is
if_pflog.h itself that actually defines NPFLOG (because it includes
use_pflog.h).

So if_pflog.h was never included and some initialization code in
the ioctls for adding and changing rules was not executed.
sys/net/pf/pf_ioctl.c