/* Output: void, but we will add to proto tree if !NULL.  */
void isis_dissect_te_router_id_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_te_router_id_clv(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, expert_field *expert, int offset, int length, int tree_id)
{
    if ( length <= 0 ) {
        return;
    }
    if ( length != 4 ) {
        proto_tree_add_expert_format(tree, pinfo, expert, tvb, offset, -1,
            "malformed Traffic Engineering Router ID (%d vs 4)",length );
        return;
    }
    proto_tree_add_item(tree, tree_id, tvb, offset, 4, ENC_BIG_ENDIAN);
}