diff options
author | Jakob Borg <jakob@nym.se> | 2014-05-22 09:35:54 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-05-22 09:35:54 +0200 |
commit | ae0193b724823138149836975dd9a11790d99c21 (patch) | |
tree | 342ad17eebd8d3564fc8d7dba2a7f4cc2b27a882 /cmd | |
parent | 2e1c33206f1840d1231e23d22e98b7470c0274c0 (diff) |
Configurable local announcement port (fixes #256)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/syncthing/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 9f95f57952..483402ee2f 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -615,7 +615,7 @@ next: } func discovery(extPort int) *discover.Discoverer { - disc, err := discover.NewDiscoverer(myID, cfg.Options.ListenAddress) + disc, err := discover.NewDiscoverer(myID, cfg.Options.ListenAddress, cfg.Options.LocalAnnPort) if err != nil { l.Warnf("No discovery possible (%v)", err) return nil |