[ofa-general] Re: [OPENSM PATCH 1/5]: add guid_routing_order_file option

Sasha Khapyorsky sashak at voltaire.com
Mon Jun 16 01:26:28 PDT 2008


Hi Al,

On 15:48 Fri 13 Jun     , Al Chu wrote:
> @@ -1547,6 +1551,10 @@ int osm_subn_write_conf_file(char *file_name, IN osm_subn_opt_t *const p_opts)
>  		" Up/Down algorithm instead\n# of GUIDs (one guid and"
>  		" id in each line)\nids_guid_file %s\n\n",
>  		p_opts->ids_guid_file ? p_opts->ids_guid_file : null_str);
> +	
> +	fprintf(opts_file,
> +		"# The file holding guid routing order guids (for Up/Down)\n"
> +		"guid_routing_order_file %s\n\n", p_opts->guid_routing_order_file);

I guess here should be:

  p_opts->guid_routing_order_file ? p_opts->guid_routing_order_file : null_str

Sasha



More information about the general mailing list