Local discovery should use the same port on v4 as v6 (fixes #2201)

This commit is contained in:
Jakob Borg
2015-08-27 16:04:13 +02:00
parent 037be433f8
commit be332a6223
3 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ func TestDefaultValues(t *testing.T) {
GlobalAnnServers: []string{"udp4://announce.syncthing.net:22027", "udp6://announce-v6.syncthing.net:22027"},
GlobalAnnEnabled: true,
LocalAnnEnabled: true,
LocalAnnPort: 21025,
LocalAnnPort: 21027,
LocalAnnMCAddr: "[ff12::8384]:21027",
RelayServers: []string{"dynamic+https://relays.syncthing.net"},
MaxSendKbps: 0,