diff options
| -rw-r--r-- | Bpq32.c | 1 | ||||
| -rw-r--r-- | HanksRT.c | 2 | ||||
| -rw-r--r-- | L2Code.c | 6 | ||||
| -rw-r--r-- | Versions.h | 4 |
4 files changed, 8 insertions, 5 deletions
@@ -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
@@ -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;
@@ -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);
+ }
}
@@ -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
|
