Changeset df15e5f in mainline for uspace/srv/ethip/ethip_nic.c


Ignore:
Timestamp:
2012-02-12T20:09:36Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd8bfc5a
Parents:
4f64a523
Message:

Fix bug in MAC address decoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ethip/ethip_nic.c

    r4f64a523 rdf15e5f  
    198198}
    199199
     200#include <stdio.h>
    200201static void ethip_nic_received(ethip_nic_t *nic, ipc_callid_t callid,
    201202    ipc_call_t *call)
     
    212213                return;
    213214        }
     215
     216        log_msg(LVL_DEBUG, "Ethernet PDU contents (%zu bytes)",
     217            size);
     218        size_t i;
     219        for (i = 0; i < size; i++)
     220                printf("%02x ", ((uint8_t *)data)[i]);
     221        printf("\n");
    214222
    215223        log_msg(LVL_DEBUG, "call ethip_received");
Note: See TracChangeset for help on using the changeset viewer.