Changeset f05edcb in mainline for uspace/app/inet/inet.c


Ignore:
Timestamp:
2021-08-08T08:28:24Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d5ed54b
Parents:
98a935e
Message:

Make addr48_t a structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/inet/inet.c

    r98a935e rf05edcb  
    11/*
    2  * Copyright (c) 2013 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    370370                table_printf(table, "%02x:%02x:%02x:%02x:%02x:%02x\t"
    371371                    "%s\t" "%zu\n",
    372                     linfo.mac_addr[0], linfo.mac_addr[1],
    373                     linfo.mac_addr[2], linfo.mac_addr[3],
    374                     linfo.mac_addr[4], linfo.mac_addr[5],
     372                    linfo.mac_addr.b[0], linfo.mac_addr.b[1],
     373                    linfo.mac_addr.b[2], linfo.mac_addr.b[3],
     374                    linfo.mac_addr.b[4], linfo.mac_addr.b[5],
    375375                    linfo.name, linfo.def_mtu);
    376376
Note: See TracChangeset for help on using the changeset viewer.