Adapt to account for bridge_enqueue()'s extra parameter.

This commit is contained in:
jdc 2003-09-16 17:39:12 +00:00
parent 7454db32b4
commit 3fc943e207

View File

@ -1,4 +1,4 @@
/* $NetBSD: bridgestp.c,v 1.3 2003/02/03 23:51:03 thorpej Exp $ */
/* $NetBSD: bridgestp.c,v 1.4 2003/09/16 17:39:12 jdc Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.3 2003/02/03 23:51:03 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.4 2003/09/16 17:39:12 jdc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -272,7 +272,7 @@ bstp_send_config_bpdu(struct bridge_softc *sc, struct bridge_iflist *bif,
memcpy(mtod(m, caddr_t) + sizeof(*eh), &bpdu, sizeof(bpdu));
s = splnet();
bridge_enqueue(sc, ifp, m);
bridge_enqueue(sc, ifp, m, 0);
splx(s);
}
@ -386,7 +386,7 @@ bstp_transmit_tcn(struct bridge_softc *sc)
memcpy(mtod(m, caddr_t) + sizeof(*eh), &bpdu, sizeof(bpdu));
s = splnet();
bridge_enqueue(sc, ifp, m);
bridge_enqueue(sc, ifp, m, 0);
splx(s);
}