M17: Make IP Frame UDP Input/Output Configurable via CLI -i and -o;

This commit is contained in:
lwvmobile
2024-04-09 11:43:41 -04:00
parent f6283f4807
commit 202fbf3dbc
5 changed files with 72 additions and 18 deletions

View File

@@ -478,7 +478,7 @@ int udp_socket_connectM17(dsd_opts * opts, dsd_state * state)
return (err);
}
addressM17.sin_port = htons(opts->m17_portno); //plus 2 to current port assignment for the analog port value
addressM17.sin_port = htons(opts->m17_portno);
if (err < 0)
{
fprintf (stderr, " UDP htons Error %ld\n", err);