View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005489 | JEDI API & WSC Library | General API | public | 2011-02-18 14:58 | 2011-02-18 14:59 |
Reporter | ChristianWimmer | Assigned To | ChristianWimmer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0005489: 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 Information | JwaIPtypes.pas | ||||
Tags | No tags attached. | ||||
|
FIXED The new type looks like this: IF_OPER_STATUS = ( IfOperStatusUp = 1, IfOperStatusDown, IfOperStatusTesting, IfOperStatusUnknown, IfOperStatusDormant, IfOperStatusNotPresent, IfOperStatusLowerLayerDown); |
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 |