mirror of https://github.com/wb2osz/direwolf.git
New NCHANNEL feature.
This commit is contained in:
parent
dd04883707
commit
1033f8a7bf
|
@ -476,7 +476,7 @@ void nettnc_send_packet (int chan, packet_t pp)
|
||||||
s_tnc_sock[chan] = -1;
|
s_tnc_sock[chan] = -1;
|
||||||
}
|
}
|
||||||
#else
|
#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) {
|
if (err <= 0) {
|
||||||
text_color_set(DW_COLOR_ERROR);
|
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);
|
dw_printf ("\nError %d sending packet to KISS Network TNC for channel %d. Closing connection.\n\n", err, chan);
|
||||||
|
|
Loading…
Reference in New Issue