From 350c4e627167b313715feaf52e4068a2aa7fbe23 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 27 Aug 2001 10:42:21 +0000 Subject: Send a reset request for every packet received when our encryption dictionaries are out of sync. This avoids the complications that happen when our original reset request gets lost in transit (quite likely in hind sight, given a lossy link) when we end up ignoring the peer for the next (up to) 256 packets. Submitted by: Nick Sayer --- usr.sbin/ppp/mppe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin') diff --git a/usr.sbin/ppp/mppe.c b/usr.sbin/ppp/mppe.c index f079660..b2acc47 100644 --- a/usr.sbin/ppp/mppe.c +++ b/usr.sbin/ppp/mppe.c @@ -296,6 +296,8 @@ MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) * The spec says that we shouldn't be though.... */ log_Printf(LogDEBUG, "MPPE: Not flushed - discarded\n"); + fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, + MB_CCPOUT); m_freem(mp); return NULL; } -- cgit v1.1