kopia lustrzana https://github.com/Hamlib/Hamlib
Change ampctld default TCP port to 4531
rodzic
f7d05a9d44
commit
2c884a970a
|
@ -359,7 +359,7 @@ int HAMLIB_API amp_open(AMP *amp)
|
||||||
case RIG_PORT_NETWORK:
|
case RIG_PORT_NETWORK:
|
||||||
case RIG_PORT_UDP_NETWORK:
|
case RIG_PORT_UDP_NETWORK:
|
||||||
/* FIXME: default port */
|
/* FIXME: default port */
|
||||||
status = network_open(&rs->ampport, 4533);
|
status = network_open(&rs->ampport, 4531);
|
||||||
|
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -106,7 +106,7 @@ static struct option long_options[] =
|
||||||
int interactive = 1; /* no cmd because of daemon */
|
int interactive = 1; /* no cmd because of daemon */
|
||||||
int prompt = 0 ; /* Daemon mode for rigparse return string */
|
int prompt = 0 ; /* Daemon mode for rigparse return string */
|
||||||
|
|
||||||
const char *portno = "4533";
|
const char *portno = "4531";
|
||||||
const char *src_addr = NULL; /* INADDR_ANY */
|
const char *src_addr = NULL; /* INADDR_ANY */
|
||||||
|
|
||||||
char send_cmd_term = '\r'; /* send_cmd termination char */
|
char send_cmd_term = '\r'; /* send_cmd termination char */
|
||||||
|
|
Ładowanie…
Reference in New Issue