diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-05-26 08:24:33 +0100 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-05-26 08:24:33 +0100 |
| commit | a21121fbfce48307740e6ade5f4f16531501b053 (patch) | |
| tree | 20cc0efed3f2e293d735667174d345eada14bf39 /L2Code.c | |
| parent | 4924c1223ef5e47353ef34892b732c2081096427 (diff) | |
6.0.23.7123.76
Diffstat (limited to 'L2Code.c')
| -rw-r--r-- | L2Code.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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);
+ }
}
|
