Turn off multicast by default -- need to set multicast_data_addr to 224.0.0.1 or such to enable

Also disable multicast_cmd_addr by default
pull/1612/head
Mike Black W9MDB 2024-09-13 07:03:35 -05:00
rodzic 2b3000c21d
commit 711089f252
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -203,7 +203,7 @@ static const struct confparams frontend_cfg_params[] =
{ {
TOK_MULTICAST_DATA_ADDR, "multicast_data_addr", "Multicast data UDP address", TOK_MULTICAST_DATA_ADDR, "multicast_data_addr", "Multicast data UDP address",
"Multicast data UDP address for publishing rig data and state, value of 0.0.0.0 disables multicast data publishing", "Multicast data UDP address for publishing rig data and state, value of 0.0.0.0 disables multicast data publishing",
"224.0.0.1", RIG_CONF_STRING, "0.0.0.0", RIG_CONF_STRING,
}, },
{ {
TOK_MULTICAST_DATA_PORT, "multicast_data_port", "Multicast data UDP port", TOK_MULTICAST_DATA_PORT, "multicast_data_port", "Multicast data UDP port",
@ -213,7 +213,7 @@ static const struct confparams frontend_cfg_params[] =
{ {
TOK_MULTICAST_CMD_ADDR, "multicast_cmd_addr", "Multicast command server UDP address", TOK_MULTICAST_CMD_ADDR, "multicast_cmd_addr", "Multicast command server UDP address",
"Multicast command UDP address for sending commands to rig, value of 0.0.0.0 disables multicast command server", "Multicast command UDP address for sending commands to rig, value of 0.0.0.0 disables multicast command server",
"224.0.0.2", RIG_CONF_STRING, "0.0.0.0", RIG_CONF_STRING,
}, },
{ {
TOK_MULTICAST_CMD_PORT, "multicast_cmd_port", "Multicast command server UDP port", TOK_MULTICAST_CMD_PORT, "multicast_cmd_port", "Multicast command server UDP port",

Wyświetl plik

@ -17,7 +17,8 @@
#include "network.h" #include "network.h"
#include "sprintflst.h" #include "sprintflst.h"
#define RIG_MULTICAST_ADDR "224.0.0.1" // Multicast off by default
#define RIG_MULTICAST_ADDR "0.0.0.0"
#define RIG_MULTICAST_PORT 4532 #define RIG_MULTICAST_PORT 4532
#if 0 #if 0