1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

fix kvprintf panic in attach routine

This commit is contained in:
Hellmuth Michaelis 2001-10-24 14:12:47 +00:00
parent f6c0e0ef6f
commit 365bf7980c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85409

View File

@ -29,7 +29,7 @@
*
* $FreeBSD$
*
* last edit-date: [Fri Jan 12 15:43:51 2001]
* last edit-date: [Wed Oct 24 16:04:53 2001]
*
*---------------------------------------------------------------------------*
*
@ -366,12 +366,7 @@ i4biprattach()
sc->sc_dialresp = DSTAT_NONE; /* no response */
sc->sc_lastdialresp = DSTAT_NONE;
#if defined(__FreeBSD_version) && ((__FreeBSD_version >= 500009) || (410000 <= __FreeBSD_version && __FreeBSD_version < 500000))
/* do not call bpfattach in ether_ifattach */
ether_ifattach(&sc->sc_if, 0);
#else
if_attach(&sc->sc_if);
#endif
#if NBPFILTER > 0 || NBPF > 0
#ifdef __FreeBSD__