diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
| commit | 90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch) | |
| tree | 1b751234609ae587e93078af8f43673d7960a048 /VARA.c | |
| parent | ebc845ec8c8ed630f77205fbad9a19174e93785a (diff) | |
6.0.23.3423.36
Diffstat (limited to 'VARA.c')
| -rw-r--r-- | VARA.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -378,6 +378,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff) VARASendCommand(TNC, TNC->ConnectCmd, TRUE);
TNC->Streams[0].Connecting = TRUE;
+ TNC->Streams[0].ConnectTime = time(NULL);
memset(TNC->Streams[0].RemoteCall, 0, 10);
memcpy(TNC->Streams[0].RemoteCall, &TNC->ConnectCmd[8], strlen(TNC->ConnectCmd)-10);
@@ -401,6 +402,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff) PMSGWITHLEN buffptr = GetBuff();
TNC->Streams[0].Connecting = FALSE;
+ TNC->Streams[0].ConnectTime = time(NULL);
if (buffptr == 0) return (0); // No buffers, so ignore
@@ -1577,6 +1579,7 @@ Lost: TNC->CONNECTED = FALSE;
TNC->Alerted = FALSE;
+ TNC->ConnectPending = FALSE;
if (TNC->PTTMode)
Rig_PTT(TNC, FALSE); // Make sure PTT is down
|
