summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-05-26 08:24:33 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-05-26 08:24:33 +0100
commita21121fbfce48307740e6ade5f4f16531501b053 (patch)
tree20cc0efed3f2e293d735667174d345eada14bf39
parent4924c1223ef5e47353ef34892b732c2081096427 (diff)
6.0.23.7123.76
-rw-r--r--Bpq32.c1
-rw-r--r--HanksRT.c2
-rw-r--r--L2Code.c6
-rw-r--r--Versions.h4
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