View Issue Details

IDProjectCategoryView StatusLast Update
0005489JEDI API & WSC LibraryGeneral APIpublic2011-02-18 14:59
ReporterChristianWimmerAssigned ToChristianWimmer 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0005489: Type Definition IF_OPER_STATUS is wrong.
Description[...]
Now, I think this could be because the definition in the jwaiptypes
file is set up as

  IF_OPER_STATUS = (
    IfOperStatusUp,
    IfOperStatusDown,
    IfOperStatusTesting,
    IfOperStatusUnknown,
    IfOperStatusDormant,
    IfOperStatusNotPresent,
    IfOperStatusLowerLayerDown);

But with Delphi, sets start at 0, whereas, looking as MSDN, the
OperStatus definitions start at 1. So it seems to need the definition
changing to something like this

  IF_OPER_STATUS = (
    IfOperStatusEmpty,
    IfOperStatusUp,
    IfOperStatusDown,
    IfOperStatusTesting,
    IfOperStatusUnknown,
    IfOperStatusDormant,
    IfOperStatusNotPresent,
    IfOperStatusLowerLayerDown);

and then a live network card comes back with a status of IfOperStatusUp
rather than IfOperStatusDown.

Additional InformationJwaIPtypes.pas
TagsNo tags attached.

Activities

ChristianWimmer

2011-02-18 14:59

administrator   ~0018388

FIXED

The new type looks like this:

  IF_OPER_STATUS = (
    IfOperStatusUp = 1,
    IfOperStatusDown,
    IfOperStatusTesting,
    IfOperStatusUnknown,
    IfOperStatusDormant,
    IfOperStatusNotPresent,
    IfOperStatusLowerLayerDown);

Issue History

Date Modified Username Field Change
2011-02-18 14:58 ChristianWimmer New Issue
2011-02-18 14:58 ChristianWimmer Status new => assigned
2011-02-18 14:58 ChristianWimmer Assigned To => ChristianWimmer
2011-02-18 14:59 ChristianWimmer Note Added: 0018388
2011-02-18 14:59 ChristianWimmer Status assigned => resolved
2011-02-18 14:59 ChristianWimmer Resolution open => fixed