[ofa-general] Re: opensm/osm_sa.c: GID format
Sasha Khapyorsky
sashak at voltaire.com
Tue Jul 29 16:27:58 PDT 2008
On 11:28 Tue 29 Jul , Hal Rosenstock wrote:
> On Mon, Jul 28, 2008 at 10:07 AM, Hal Rosenstock
> <hal.rosenstock at gmail.com> wrote:
> > Should the GID format in opensm/osm_sa.c also be updated to use
> > inet_ntop/inet_pton rather than PRIx64 ? If so, should it also support
> > the old format for input so old files can still be imported ?
>
> Similarly, there's also the LID format in osm_db_pack.c in hex rather
> than decimal.
I think it could be converted. Parser uses strtoul(str, NULL, 0) to read
this and should work fine with hex and decimal numbers.
Sasha
More information about the general
mailing list