def _parse_r_line(line, *_):
    """
    Parse router info line.

    :param line: the line
    :return: dict with router info
    """
    split_line = line.split(' ')
    return {
        'nickname': split_line[0],
        'ip': split_line[5],
        'dir_port': int(split_line[7]),
        'tor_port': int(split_line[6]),
        '_fingerprint': split_line[1],
    }