#435 closed defect (fixed)

rtems_showifstat misses printing the netmask

Reported by: strauman Owned by: Jennifer Averett
Priority: lowest Milestone: 2
Component: network/legacy Version: 4.6
Severity: normal Keywords:
Cc: bugs@…, joel.sherrill@… Blocked By:
Blocking:

Description

ifstat.diff:

rtems_showifstat checked sa_family of various fields of a ifaddr struct. However, sa_family==AF_INET should only be
checked on ifa_addr.
Also, the patch replaces a call to inet_ntoa() by inet_ntop() (reentrancy).

ifstat.diff1 (after + in addition to ifstat.diff):

  • for ethernet interfaces, show the link layer address (i.e. the ethernet address).

Release:
RTEMS-4.6.0pre4

Attachments (1)

ifstat.diff (1.8 KB) - added by strauman on 12/03/06 at 13:31:12.
ifstat.diff

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 08/05/03 at 17:31:34 by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on 08/05/03 at 17:31:56 by Joel Sherrill

Owner: changed from eric to jennifer

comment:3 Changed on 08/06/03 at 13:45:30 by Jennifer Averett

Status: waitingclosed

State-Changed-From-To: feedback->closed
State-Changed-Why: patch applied to trunk and 4.6 branch.

Changed on 12/03/06 at 13:31:12 by strauman

Attachment: ifstat.diff added

ifstat.diff

Note: See TracTickets for help on using tickets.