Cedric Staniewski a58f69be04 cmd/discosrv: Respect the listen address scheme (fixes #3346)
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
2016-07-03 11:19:12 +00:00
..
2016-07-03 08:44:41 +00:00
2015-08-09 09:35:26 +02:00
2016-05-08 10:54:22 +00:00
2015-09-22 19:38:46 +02:00
2016-05-04 19:38:12 +00:00
2015-07-27 19:00:22 +01:00
2015-03-17 16:02:27 +01:00
2014-07-01 12:20:25 +02:00