Specify the size of the framing added to packets (in this case: zero), so
if_sppsubr.c can calculate correct statistics.
This commit is contained in:
parent
93c0294b72
commit
3caa4d3f4c
|
@ -34,7 +34,7 @@
|
|||
* the "cx" driver for Cronyx's HDLC-in-hardware device). This driver
|
||||
* is only the glue between sppp and i4b.
|
||||
*
|
||||
* $Id: i4b_isppp.c,v 1.4 2001/03/24 12:40:31 martin Exp $
|
||||
* $Id: i4b_isppp.c,v 1.5 2001/04/09 19:35:46 martin Exp $
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
|
@ -322,6 +322,7 @@ i4bispppattach()
|
|||
sc->sc_if_un.scu_sp.pp_tlf = i4bisppp_tlf;
|
||||
sc->sc_if_un.scu_sp.pp_con = i4bisppp_negotiation_complete;
|
||||
sc->sc_if_un.scu_sp.pp_chg = i4bisppp_state_changed;
|
||||
sc->sc_if_un.scu_sp.pp_framebytes = 0; /* no framing added by hardware */
|
||||
|
||||
#if defined(__FreeBSD_version) && ((__FreeBSD_version >= 500009) || (410000 <= __FreeBSD_version && __FreeBSD_version < 500000))
|
||||
/* do not call bpfattach in ether_ifattach */
|
||||
|
|
Loading…
Reference in New Issue