[tor-commits] [tor/master] addr: Refactor is_local_addr() to support IPv6