Calum Lind 21b5a15e5d Fix and cleanup outgoing interface code
There was a misunderstand about outgoing interface setting in libtorrent
and instead of being able to take both IP and adapater names, it only
accepts adapter names and errors with an IP address, which was the
default of '0.0.0.0' in code.

This fixes the code to not accept IP address and use empty string if it
is given one.

Also includes a bit of code cleanup.
2018-06-02 21:32:56 +01:00
..
2011-07-13 21:49:25 +01:00
2017-12-17 11:47:08 +00:00
2018-06-01 23:41:17 +01:00
2018-06-01 23:41:17 +01:00