DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Feb 2012 03:25:03 -0800 (PST)

commit cc16352affe78fcf348e614f6d8eba49eeae56c9
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]