Local announce port opened when disabled

Hi,

I have

  <localAnnounceEnabled>false</localAnnounceEnabled>
  <localAnnouncePort>21025</localAnnouncePort>

but still notice syncthing opening UDP port 21025. I didn’t expect the port to be opened because local announce is disabled.

Just thought I’d report in case it was unexpected.

Great program. Thanks! Brian

So, apparently (!), disabling local discovery only disables the transmission of announcements. This could be considered a feature or a bug. I’m leaning towards feature, since it’s easy to avoid using discovery announcements (just don’t use dynamic peers) and I could see it being useful to have a node be silent but still use others discovery announcements.

Makes sense. Thanks.