From 188ab151674fd52cb8ed3dc651599bf37ab14445 Mon Sep 17 00:00:00 2001 From: mycroft Date: Sat, 2 Oct 1993 08:55:16 +0000 Subject: [PATCH] Ignore carrier if not using hardware carrier detect (i.e. CLOCAL is set). --- sys/net/if_sl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 523cd7a3b578..10daeac06e51 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -371,7 +371,8 @@ sloutput(ifp, m, dst) m_freem(m); return (ENETDOWN); /* sort of */ } - if ((sc->sc_ttyp->t_state & TS_CARR_ON) == 0) { + if ((sc->sc_ttyp->t_state & TS_CARR_ON) == 0 && + (sc->sc_ttyp->t_cflag & CLOCAL) == 0) { m_freem(m); return (EHOSTUNREACH); }