Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 10:27:44 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        Shimon@i-Connect.Net (Simon Shapiro)
Cc:        tlambert@primenet.com, current@FreeBSD.ORG, nnd@itfs.nsk.su
Subject:   Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID:  <199709111027.DAA14288@usr05.primenet.com>
In-Reply-To: <XFMail.970910213523.Shimon@i-Connect.Net> from "Simon Shapiro" at Sep 10, 97 09:35:23 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> The solution is very simple;  Upon open, you open anyway, ignoring but
> remembering DCD.  If you get a change of state from inactive to active, you
> change the state, but ignore it.  However, if the state  transitions from 
> ACTIVE to INACTIVE, you terminate the connection, close the port and
> generate SIGHUP.  This is the simplest and most correct way to handle it.

Won't work.  They open for getty must hang until DCD is true.  See
my other post for the real soloution.  Microport was on the right track.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709111027.DAA14288>