1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

RFC1548, section 5.8:

Echo-Request and Echo-Reply packets may only be sent in the LCP
Opened state.  Echo-Request and Echo-Reply packets received in any
state other than the LCP Opened state SHOULD be silently discarded.

PR:		45760
Submitted by:	Eugene Grosbein
MFC after:	2 weeks
This commit is contained in:
Max Khon 2003-04-07 13:34:00 +00:00
parent ef258dd967
commit d4c6c8f992
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113221

View File

@ -1737,6 +1737,8 @@ LcpEchoCheck (f)
fsm *f;
{
LcpSendEchoRequest (f);
if (f->state != OPENED)
return;
/*
* Start the timer for the next interval.