|
@@ -218,7 +218,7 @@ type OptionsConfiguration struct {
|
|
|
GlobalAnnEnabled bool `xml:"globalAnnounceEnabled" json:"globalAnnounceEnabled" default:"true"`
|
|
|
LocalAnnEnabled bool `xml:"localAnnounceEnabled" json:"localAnnounceEnabled" default:"true"`
|
|
|
LocalAnnPort int `xml:"localAnnouncePort" json:"localAnnouncePort" default:"21025"`
|
|
|
- LocalAnnMCAddr string `xml:"localAnnounceMCAddr" json:"localAnnounceMCAddr" default:"[ff32::5222]:21026"`
|
|
|
+ LocalAnnMCAddr string `xml:"localAnnounceMCAddr" json:"localAnnounceMCAddr" default:"[ff12::8384]:21027"`
|
|
|
RelayServers []string `xml:"relayServer" json:"relayServers" default:"dynamic+https://relays.syncthing.net"`
|
|
|
MaxSendKbps int `xml:"maxSendKbps" json:"maxSendKbps"`
|
|
|
MaxRecvKbps int `xml:"maxRecvKbps" json:"maxRecvKbps"`
|
|
@@ -504,6 +504,11 @@ func convertV11V12(cfg *Configuration) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // Use new multicast group
|
|
|
+ if cfg.Options.LocalAnnMCAddr == "[ff32::5222]:21026" {
|
|
|
+ cfg.Options.LocalAnnMCAddr = "[ff12::8384]:21027"
|
|
|
+ }
|
|
|
+
|
|
|
cfg.Version = 12
|
|
|
}
|
|
|
|