Stop assuming that every extend_info contains an IPv4 address in get_lspecs_from_extend_info()

addr can be an IPv6 address