/* Output: void, but we will add to proto tree if !NULL.  */
void isis_dissect_ipv6_int_clv(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, expert_field *expert, int offset, int length, int tree_id)
/* Output: void, but we will add to proto tree if !NULL.  */
void isis_dissect_ipv6_int_clv(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, expert_field *expert, int offset, int length, int tree_id)
{
    struct e_in6_addr addr;
    if ( length <= 0 ) {
        return;
    }
    while ( length > 0 ) {
        if ( length < 16 ) {
            proto_tree_add_expert_format(tree, pinfo, expert, tvb, offset, -1,
                "Short IPv6 interface address (%d vs 16)",length );
            return;
        }
        tvb_get_ipv6(tvb, offset, &addr);
        if ( tree ) {
            proto_tree_add_ipv6(tree, tree_id, tvb, offset, 16, &addr);
        }
        offset += 16;
        length -= 16;
    }
}