New NCHANNEL feature.

This commit is contained in:
wb2osz 2024-07-19 00:48:08 +01:00
parent dd04883707
commit 1033f8a7bf
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ void nettnc_send_packet (int chan, packet_t pp)
s_tnc_sock[chan] = -1;
}
#else
int err = SOCK_SEND (kps->client_sock[chan], kiss_buff, kiss_len);
int err = SOCK_SEND (s_tnc_sock[chan], kiss_buff, kiss_len);
if (err <= 0) {
text_color_set(DW_COLOR_ERROR);
dw_printf ("\nError %d sending packet to KISS Network TNC for channel %d. Closing connection.\n\n", err, chan);