mirror of
https://agent.ghink.cloud/wb2osz/direwolf
synced 2025-04-18 04:19:31 +00:00
Issue 510 - List only valid channels for AGW G command.
This commit is contained in:
parent
46f31d4453
commit
c9b7c61f2c
@ -1559,6 +1559,7 @@ static THREAD_F cmd_listen_thread (void *arg)
|
|||||||
|
|
||||||
case MEDIUM_RADIO:
|
case MEDIUM_RADIO:
|
||||||
{
|
{
|
||||||
|
// Misleading if using stdin or udp.
|
||||||
char stemp[100];
|
char stemp[100];
|
||||||
int a = ACHAN2ADEV(j);
|
int a = ACHAN2ADEV(j);
|
||||||
// If I was really ambitious, some description could be provided.
|
// If I was really ambitious, some description could be provided.
|
||||||
@ -1593,12 +1594,7 @@ static THREAD_F cmd_listen_thread (void *arg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
; // Only list valid channels.
|
||||||
// could elaborate with hostname, etc.
|
|
||||||
char stemp[100];
|
|
||||||
snprintf (stemp, sizeof(stemp), "Port%d INVALID CHANNEL;", j+1);
|
|
||||||
strlcat (reply.info, stemp, sizeof(reply.info));
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
} // switch
|
} // switch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user