Add global announce server on IPv6

This commit is contained in:
Jakob Borg
2015-03-07 20:48:53 +01:00
parent 29dbfc647d
commit 1d77aeb69c
3 changed files with 39 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ func init() {
func TestDefaultValues(t *testing.T) {
expected := OptionsConfiguration{
ListenAddress: []string{"0.0.0.0:22000"},
GlobalAnnServers: []string{"udp4://announce.syncthing.net:22026"},
GlobalAnnServers: []string{"udp4://announce.syncthing.net:22026", "udp6://announce-v6.syncthing.net:22026"},
GlobalAnnEnabled: true,
LocalAnnEnabled: true,
LocalAnnPort: 21025,