From 68f823eb7a5367ec94bb365d415594f738a089ed Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 12 Nov 1999 19:30:08 +0000 Subject: [PATCH] Set the queue length. --- sys/net/if_disc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c index 97e23b1b3431..b90a6581621d 100644 --- a/sys/net/if_disc.c +++ b/sys/net/if_disc.c @@ -83,6 +83,7 @@ discattach(dummy) ifp->if_type = IFT_LOOP; ifp->if_hdrlen = 0; ifp->if_addrlen = 0; + ifp->if_snd.ifq_maxlen = 20; if_attach(ifp); bpfattach(ifp, DLT_NULL, sizeof(u_int)); }