def METHOD_NAME(output):
    ecmp_nh = general_parse_log(output, "next")
    nh_list = []
    for ecmp in ecmp_nh:
        ecmp_attributes = []
        ecmp = ecmp[11:-1]
        for word in ecmp.split(" "):
            ecmp_attributes.append(word.strip())
        nh_list.append(convert_hex_to_ip(
            ecmp_attributes[2].split("=")[1].strip()))
    return nh_list