From a21121fbfce48307740e6ade5f4f16531501b053 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Fri, 26 May 2023 08:24:33 +0100 Subject: 6.0.23.71 --- L2Code.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'L2Code.c') diff --git a/L2Code.c b/L2Code.c index ecf0de8..8651fdb 100644 --- a/L2Code.c +++ b/L2Code.c @@ -1122,10 +1122,10 @@ VOID L2LINKACTIVE(struct _LINKTABLE * LINK, struct PORTCONTROL * PORT, MESSAGE * } InformPartner(LINK, NORMALCLOSE); // SEND DISC TO OTHER END + LINK->CIRCUITPOINTER = 0; L2SABM(LINK, PORT, Buffer, ADJBUFFER, MSGFLAG); // Process the SABM return; - } L2_PROCESS(LINK, PORT, Buffer, CTL, MSGFLAG); @@ -3460,8 +3460,10 @@ VOID InformPartner(struct _LINKTABLE * LINK, int Reason) } if (LINK->CIRCUITPOINTER) + { CloseSessionPartner(LINK->CIRCUITPOINTER); - + CLEARSESSIONENTRY(LINK->CIRCUITPOINTER); + } } -- cgit v1.2.3