Adjust our CBCP RESP id so that it's the same as the REQ.

Submitted by: Tom <root@majestix.cmr.no>
This commit is contained in:
Brian Somers 1998-10-17 12:28:09 +00:00
parent f21c8aecd1
commit 0e0c8ee5fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40485

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cbcp.c,v 1.2 1998/08/26 17:39:38 brian Exp $
* $Id: cbcp.c,v 1.3 1998/10/17 12:28:08 brian Exp $
*/
#include <sys/types.h>
@ -617,6 +617,7 @@ cbcp_Input(struct physical *p, struct mbuf *bp)
timer_Stop(&cbcp->fsm.timer);
if (cbcp_AdjustResponse(cbcp, data)) {
cbcp->fsm.restart = DEF_REQs;
cbcp->fsm.id = head->id;
cbcp_SendResponse(cbcp);
} else
datalink_CBCPFailed(cbcp->p->dl);