master
John Wiseman 2 years ago
parent 84b3067c72
commit f54323e3ce

@ -1187,6 +1187,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Fix NC to Application Call (6)
// Fix INP3 L3RTT messages on Linux and correct RTT calculation (9)
// Get Beacon config from config file on windows (9)
// fix processing DED TNC Emulator M command with space between M and params (10)
#define CKernel

@ -3368,7 +3368,7 @@ int DEDPROCESSHOSTPACKET(struct StreamInfo * Channel, struct TNCDATA * TNC)
TRANSPORTENTRY * L4 = NULL;
unsigned char * MONCURSOR=0;
int SaveAuthProg = 0;
unsigned char * mcmdptr = &TNC->DEDTXBUFFER[1];
TXBUFFERPTR = &TNC->DEDTXBUFFER[0];
if (Channel->Chan_TXQ == (UCHAR *)(ptrdiff_t) -1)
@ -3522,10 +3522,8 @@ NOTDATA:
Work = 0x31;
else
Work = 0x30;
}
PUTCHARx(TNC, '0');
PUTCHARx(TNC, ' ');
PUTCHARx(TNC, Work);
@ -3546,7 +3544,12 @@ NOTDATA:
// Support BPQ Extensions IUSC followed by optional port list
if (TNC->DEDTXBUFFER[1] == 'N')
TNC->DEDTXBUFFER[TNC->MSGLENGTH] = 0;
if (*mcmdptr == ' ')
mcmdptr++;
if (mcmdptr[0] == 'N')
TNC->TRACEFLAG = 0;
else
{
@ -3555,12 +3558,11 @@ NOTDATA:
uint64_t mask = 0;
TNC->DEDTXBUFFER[TNC->MSGLENGTH] = 0;
ptr = strlop(TNC->DEDTXBUFFER, ' ');
ptr = strlop(mcmdptr, ' ');
_strupr(TNC->DEDTXBUFFER);
_strupr(mcmdptr);
if (strchr(TNC->DEDTXBUFFER, 'U'))
if (strchr(mcmdptr, 'U'))
TNC->MUIONLY = 1;
@ -3574,8 +3576,9 @@ NOTDATA:
if (port)
{
mask |= ((uint64_t)1 << (port - 1));
ptr = ptr2;
}
ptr = ptr2;
}
if (mask)

@ -10,8 +10,8 @@
#endif
#define KVers 6,0,24,9
#define KVerstring "6.0.24.9\0"
#define KVers 6,0,24,10
#define KVerstring "6.0.24.10\0"
#ifdef CKernel

Loading…
Cancel
Save

Powered by TurnKey Linux.