mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Initalize ifq_maxlen to prevent a harmless warning message.
MFC After: 1 day Pointed out by: jacks@sage-american.com, bmah
This commit is contained in:
parent
2ae4ee833d
commit
29410449c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88034
@ -212,6 +212,7 @@ faith_clone_create(ifc, unit)
|
||||
sc->sc_if.if_type = IFT_FAITH;
|
||||
sc->sc_if.if_hdrlen = 0;
|
||||
sc->sc_if.if_addrlen = 0;
|
||||
sc->sc_if.if_snd.ifq_maxlen = ifqmaxlen;
|
||||
if_attach(&sc->sc_if);
|
||||
bpfattach(&sc->sc_if, DLT_NULL, sizeof(u_int));
|
||||
LIST_INSERT_HEAD(&faith_softc_list, sc, sc_list);
|
||||
|
Loading…
Reference in New Issue
Block a user