fix kvprintf panic in attach routine

This commit is contained in:
hm 2001-10-24 14:12:47 +00:00
parent addd3a5be5
commit 43c95a2d2a

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__