diff options
author | ache <ache@FreeBSD.org> | 1995-04-01 22:11:10 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-04-01 22:11:10 +0000 |
commit | b0e83cf07da17b6301597e4fbaaac6419c056401 (patch) | |
tree | a5655f6998d606f65e2259f4a6155ac8a156b25d | |
parent | 1c0c97a80b66beb80a344489aaf9902decdb341f (diff) | |
download | FreeBSD-src-b0e83cf07da17b6301597e4fbaaac6419c056401.zip FreeBSD-src-b0e83cf07da17b6301597e4fbaaac6419c056401.tar.gz |
slopen() never sets t_line to SLIPDISC, but uses slip-specific queue allocation
-rw-r--r-- | sys/net/if_sl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index dcb8cdb..913a4a9 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_sl.c 8.6 (Berkeley) 2/1/94 - * $Id: if_sl.c,v 1.15 1995/03/30 20:43:31 ache Exp $ + * $Id: if_sl.c,v 1.16 1995/03/31 11:01:29 ache Exp $ */ /* @@ -277,6 +277,7 @@ slopen(dev, tp) sc->sc_if.if_baudrate = tp->t_ospeed; ttyflush(tp, FREAD | FWRITE); + tp->t_line = SLIPDISC; /* * We don't use t_canq or t_rawq, so reduce their * cblock resources to 0. Reserve enough cblocks |