diff options
author | brooks <brooks@FreeBSD.org> | 2001-12-17 07:49:34 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2001-12-17 07:49:34 +0000 |
commit | e4c3d94afcecb52f74b440f9614e6fe5a0bc27b9 (patch) | |
tree | 868ccc8e88faae2d1b1df58edfbeb10ec6c082e8 /sys/net | |
parent | 9b9b8305c76f804e2f348c34e70dfd2c58177827 (diff) | |
download | FreeBSD-src-e4c3d94afcecb52f74b440f9614e6fe5a0bc27b9.zip FreeBSD-src-e4c3d94afcecb52f74b440f9614e6fe5a0bc27b9.tar.gz |
Initalize ifq_maxlen to prevent a harmless warning message.
MFC After: 1 day
Pointed out by: jacks@sage-american.com, bmah
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_faith.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index 585cf1d..84de3ee 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -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); |