Changeset 854151c in mainline for uspace/lib/net/netif/netif_local.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/lib/net/netif/netif_local.c

    r3d5e190 r854151c  
    203203 */
    204204int netif_get_addr_req_local(int netif_phone, device_id_t device_id,
    205     measured_string_t **address, char **data)
     205    measured_string_t **address, uint8_t **data)
    206206{
    207207        int rc;
     
    221221        fibril_rwlock_read_unlock(&netif_globals.lock);
    222222       
    223         *data = (**address).value;
     223        *data = (uint8_t *) (**address).value;
    224224       
    225225        return rc;
Note: See TracChangeset for help on using the changeset viewer.