diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-03-19 09:40:14 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-03-19 09:40:14 +0000 |
commit | 7e7aece722494212f487b79ab0bb273b1671797a (patch) | |
tree | 3d42a570e342285f2f25cb54d14f6edbdc5b347d /sys | |
parent | 6d87e1b021587ee59ac15be3eb645ca8734e8874 (diff) |
no longer create a pflog0 by default.
we had to put this workaround in since /etc/rc used to use the exit code
if "ifconfig pflog0" to decide wether we run on a kernel with pflog support.
rc has been fixed to explicitely create pflog0 when pf and pflogd are
enabled in November 2006, so now is the time to remove this compat hack.
pplz who haven't updated rc since 2006/11/16 lose pflogd. ok ryan theo
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_pflog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c index 561a2f6f4b2..fe6d72b54e5 100644 --- a/sys/net/if_pflog.c +++ b/sys/net/if_pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.c,v 1.22 2006/12/15 09:31:20 otto Exp $ */ +/* $OpenBSD: if_pflog.c,v 1.23 2007/03/19 09:40:13 henning Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -96,7 +96,6 @@ pflogattach(int npflog) LIST_INIT(&pflogif_list); for (i = 0; i < PFLOGIFS_MAX; i++) pflogifs[i] = NULL; - (void) pflog_clone_create(&pflog_cloner, 0); if_clone_attach(&pflog_cloner); } |