From 1033f8a7bfa7d8164f734f5adc541193fba6a199 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Fri, 19 Jul 2024 00:48:08 +0100 Subject: [PATCH] New NCHANNEL feature. --- src/nettnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nettnc.c b/src/nettnc.c index e16dd8d0..72d18cc5 100644 --- a/src/nettnc.c +++ b/src/nettnc.c @@ -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);