summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2006-11-01 23:39:34 +0000
committermcbride <mcbride@openbsd.org>2006-11-01 23:39:34 +0000
commitce41a4e3ee27e4215ec25f9ecaf2f5eeceb5c28b (patch)
tree52d82b2322d978b0ebd4a9d556f77e0028e4b9bc
parentPut common data for each RX DMA descriptor into a new rxsoft structure. (diff)
downloadwireguard-openbsd-ce41a4e3ee27e4215ec25f9ecaf2f5eeceb5c28b.tar.xz
wireguard-openbsd-ce41a4e3ee27e4215ec25f9ecaf2f5eeceb5c28b.zip
Attach pfsync0 and pflog0 by default like they used to, /etc/rc depends on
them being there. diff & ok deraadt
-rw-r--r--sys/net/if_pflog.c3
-rw-r--r--sys/net/if_pfsync.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c
index d4e093f3468..a6dbb2c6881 100644
--- a/sys/net/if_pflog.c
+++ b/sys/net/if_pflog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.c,v 1.20 2006/10/25 11:26:47 henning Exp $ */
+/* $OpenBSD: if_pflog.c,v 1.21 2006/11/01 23:39:34 mcbride Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -96,6 +96,7 @@ 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);
}
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index d45f606476b..eb0aa77e119 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.71 2006/11/01 00:02:14 henning Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.72 2006/11/01 23:39:34 mcbride Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -114,6 +114,7 @@ struct if_clone pfsync_cloner =
void
pfsyncattach(int npfsync)
{
+ (void) pfsync_clone_create(&pfsync_cloner, 0);
if_clone_attach(&pfsync_cloner);
}
int