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
This commit is contained in:
Mike Black W9MDB 2024-09-13 07:03:35 -05:00
parent 2b3000c21d
commit 711089f252
2 changed files with 4 additions and 3 deletions

View File

@ -203,7 +203,7 @@ static const struct confparams frontend_cfg_params[] =
{
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",
"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",
@ -213,7 +213,7 @@ static const struct confparams frontend_cfg_params[] =
{
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",
"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",

View File

@ -17,7 +17,8 @@
#include "network.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
#if 0