mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
* refactor: rewrite is_martian_addr() with tr_address methods - Fix broken check for IPv4 multicast address in is_martian_address() * refactor: rewrite is_global_unicast_address() - Rewrite using new tr_address methods - Add missing IPv4 loopback check - Follow RFC 4291 IPv6 global unicast definition - Fix and update existing tests * chore: reorganise methods and add comments * fix: check for teredo and 6to4 * test: tests for new methods