git: kernel/pf: In the ioctl code, make sure NPFLOG is actually defined.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Feb 17 03:25:03 PST 2012


commit cc16352affe78fcf348e614f6d8eba49eeae56c9
Author: Sascha Wildner <saw at online.de>
Date:   Fri Feb 17 12:22:26 2012 +0100

    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.

Summary of changes:
 sys/net/pf/pf_ioctl.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc16352affe78fcf348e614f6d8eba49eeae56c9


-- 
DragonFly BSD source repository





More information about the Commits mailing list