Changeset 854151c in mainline for uspace/srv/net/nil/eth/eth.c


Ignore:
Timestamp:
2011-01-07T12:32:23Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b404a98
Parents:
3d5e190
Message:

store addresses as uint8_t values (char can be both signed or unsigned depending on platform)
improve MAC address printouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    r3d5e190 r854151c  
    407407       
    408408        printf("%s: Device registered (id: %d, service: %d: mtu: %zu, "
    409             "mac: %x:%x:%x:%x:%x:%x, flags: 0x%x)\n",
     409            "mac: %02x:%02x:%02x:%02x:%02x:%02x, flags: 0x%x)\n",
    410410            NAME, device->device_id, device->service, device->mtu,
    411411            device->addr_data[0], device->addr_data[1],
Note: See TracChangeset for help on using the changeset viewer.