diff options
author | brian <brian@FreeBSD.org> | 1998-05-23 13:38:09 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-05-23 13:38:09 +0000 |
commit | 35a7434e269cd17a2450cb27e969145819c4689e (patch) | |
tree | c894c5aa24d59ceecf48cedb95f4e783ce515281 /usr.sbin/ppp/datalink.c | |
parent | b76b64615436a954f7dc5ea3ddcc922b2d8d2301 (diff) | |
download | FreeBSD-src-35a7434e269cd17a2450cb27e969145819c4689e.zip FreeBSD-src-35a7434e269cd17a2450cb27e969145819c4689e.tar.gz |
o If all CCPs are disabled & denied, don't send a REQ - just enter
STOPPED state waiting for the peer to say something.
Diffstat (limited to 'usr.sbin/ppp/datalink.c')
-rw-r--r-- | usr.sbin/ppp/datalink.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/datalink.c b/usr.sbin/ppp/datalink.c index 0965f0a..4d4c20e 100644 --- a/usr.sbin/ppp/datalink.c +++ b/usr.sbin/ppp/datalink.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: datalink.c,v 1.1.2.63 1998/05/16 23:47:24 brian Exp $ + * $Id: datalink.c,v 1.2 1998/05/21 21:44:54 brian Exp $ */ #include <sys/types.h> @@ -452,6 +452,8 @@ datalink_GotAuthname(struct datalink *dl, const char *name, int len) void datalink_AuthOk(struct datalink *dl) { + ccp_SetOpenMode(&dl->physical->link.ccp); + if (dl->physical->link.lcp.want_mrru && dl->physical->link.lcp.his_mrru) { /* we've authenticated in multilink mode ! */ switch (mp_Up(&dl->bundle->ncp.mp, dl)) { @@ -464,7 +466,7 @@ datalink_AuthOk(struct datalink *dl) /* fall through */ case MP_ADDED: /* We're in multilink mode ! */ - dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; + dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ break; case MP_FAILED: datalink_AuthNotOk(dl); |