summaryrefslogtreecommitdiff
path: root/src/ot_config.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-03 11:47:30 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-03 11:47:30 +0100
commit10d18d4a87da4289bea198a1714288f8208dd56d (patch)
tree4c7bb5a740a5c39d99dfa0a288dd3caa4bf41ea8 /src/ot_config.c
parentf16ea39889c0fd65f3e533cf40cc3a0a33ac1c33 (diff)
Refuse to start on a livesync.cluster.group that is not one
Diffstat (limited to 'src/ot_config.c')
-rw-r--r--src/ot_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ot_config.c b/src/ot_config.c
index 4064d1b..36f50a6 100644
--- a/src/ot_config.c
+++ b/src/ot_config.c
@@ -382,7 +382,7 @@ static int parse_configfile(char *config_filename) {
382#ifdef WANT_SYNC_LIVE 382#ifdef WANT_SYNC_LIVE
383 case CONFIG_LIVESYNC_CLUSTER_GROUP: 383 case CONFIG_LIVESYNC_CLUSTER_GROUP:
384 if (!ip_parse(p, tmpip) || livesync_set_group(tmpip) == -1) 384 if (!ip_parse(p, tmpip) || livesync_set_group(tmpip) == -1)
385 goto parse_error; 385 exerr("livesync.cluster.group wants a multicast address, out of 224.0.0.0/4.");
386 break; 386 break;
387 case CONFIG_LIVESYNC_CLUSTER_NODE_IP: 387 case CONFIG_LIVESYNC_CLUSTER_NODE_IP:
388 if (!scan_ip6_net(p, &tmpnet)) 388 if (!scan_ip6_net(p, &tmpnet))