mirror of
https://github.com/syncthing/syncthing.git
synced 2026-02-07 04:32:28 -05:00
If the listen address scheme is set to tcp4:// or tcp6://, it needs to be made sure that the remote address matches this scheme before it is added to the database. This prevents invalid URIs like tcp4://<IPv6 address>:<port> or tcp6://<IPv4 address>:<port>. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3378