[ofa-general] ***SPAM*** opensm/osm_inform.c:__match_inf_rec question

Hal Rosenstock hal.rosenstock at gmail.com
Tue Feb 17 14:56:26 PST 2009


In opensm/osm_inform.c:__match_inf_rec, around line 123, there is:

        /* if inform_info.gid is not zero, ignore lid range */
        if (!memcmp(&p_infr_rec->inform_record.inform_info.gid, &all_zero_gid,
                    sizeof(p_infr_rec->inform_record.inform_info.gid))) {

Shouldn't this be if (memcmp) rather than if (!memcmp) ?

-- Hal



More information about the general mailing list