Fix another callout_init() that I missed.

This commit is contained in:
jlemon 2000-11-26 21:59:30 +00:00
parent 55440769df
commit 17aeda1452
2 changed files with 2 additions and 4 deletions

View File

@ -1,11 +1,9 @@
# $Whistle: Makefile,v 1.5 1999/01/24 06:48:37 archie Exp $
# $FreeBSD$
SUBDIR= async bpf cisco echo ether frame_relay hole iface ksocket lmi \
SUBDIR= async bpf bridge cisco echo ether frame_relay hole iface ksocket lmi \
netgraph one2many ppp pppoe pptpgre rfc1490 socket tee tty UI vjc
BROKENDIR= bridge
.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
SUBDIR+= mppc
.endif

View File

@ -302,7 +302,7 @@ ng_bridge_constructor(node_p *nodep)
MALLOC(priv, priv_p, sizeof(*priv), M_NETGRAPH, M_NOWAIT | M_ZERO);
if (priv == NULL)
return (ENOMEM);
callout_init(&priv->timer);
callout_init(&priv->timer, 0);
/* Allocate and initialize hash table, etc. */
MALLOC(priv->tab, struct ng_bridge_bucket *,