From a21121fbfce48307740e6ade5f4f16531501b053 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Fri, 26 May 2023 08:24:33 +0100 Subject: [PATCH] 6.0.23.71 --- Bpq32.c | 1 + HanksRT.c | 2 +- L2Code.c | 6 ++++-- Versions.h | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Bpq32.c b/Bpq32.c index ba8a8d2..463913d 100644 --- a/Bpq32.c +++ b/Bpq32.c @@ -1164,6 +1164,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses // Fix VARA disconnect handling (67) // Support 64 ports (69) // Fix Node commands for setting UZ7HO Modem (70) +// Fix processing SABM on an existing session (71) #define CKernel diff --git a/HanksRT.c b/HanksRT.c index 1e9330b..e87ce89 100644 --- a/HanksRT.c +++ b/HanksRT.c @@ -3756,7 +3756,7 @@ BOOL ProcessChatConnectScript(ChatCIRCUIT * conn, char * Buffer, int len) // Some other response to *RTL - disconnect - Logprintf(LOG_CHAT, conn, '|', "Unexpected Response %s to *RTL - Dropping link", conn->Callsign), Buffer; + Logprintf(LOG_CHAT, conn, '|', "Unexpected Response %s to *RTL - Dropping link", Buffer); Disconnect(conn->BPQStream); return FALSE; 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); + } } diff --git a/Versions.h b/Versions.h index 1e5575e..74a69fb 100644 --- a/Versions.h +++ b/Versions.h @@ -10,8 +10,8 @@ #endif -#define KVers 6,0,23,70 -#define KVerstring "6.0.23.70\0" +#define KVers 6,0,23,71 +#define KVerstring "6.0.23.71\0" #ifdef CKernel