diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-08-08 21:46:16 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-08-08 21:46:16 +0000 |
commit | e1f08c0bfd6b8147629cc19d20f1aac109798e02 (patch) | |
tree | 9a10af420a1bace62f83191831e7550b19555afc /sys/dev/ic/rln.c | |
parent | 41eb27daca886ffd7aacd0ec9dd472be489fc5db (diff) |
These all are backends for interfaces that can be attached late, whence
ifinit can not set their ifq_maxlen, so do it ourselves.
Diffstat (limited to 'sys/dev/ic/rln.c')
-rw-r--r-- | sys/dev/ic/rln.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/rln.c b/sys/dev/ic/rln.c index 1c2b2e5ffbb..c8e2ace6ccc 100644 --- a/sys/dev/ic/rln.c +++ b/sys/dev/ic/rln.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rln.c,v 1.1 1999/07/30 13:43:36 d Exp $ */ +/* $OpenBSD: rln.c,v 1.2 1999/08/08 21:46:15 niklas Exp $ */ /* * David Leonard <d@openbsd.org>, 1999. Public Domain. * @@ -144,6 +144,7 @@ rlnconfig(sc) ifp->if_ioctl = rlnioctl; ifp->if_watchdog = rlnwatchdog; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; + ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; if_attach(ifp); ether_ifattach(ifp); #if NBPFILTER > 0 |