sixlowpan: Properly print source address when ENABLE_DEBUG
This commit is contained in:
parent
da8b46795f
commit
578eb38c38
@ -890,9 +890,10 @@ uint16_t ipv6_csum(ipv6_hdr_t *ipv6_header, uint8_t *buf, uint16_t len,
|
||||
uint8_t proto)
|
||||
{
|
||||
uint16_t sum = 0;
|
||||
DEBUG("Calculate checksum over src: %s, dst: %s, len: %04X, buf: %p, proto: %u\n",
|
||||
DEBUG("Calculate checksum over src: %s, ",
|
||||
ipv6_addr_to_str(addr_str, IPV6_MAX_ADDR_STR_LEN,
|
||||
&ipv6_header->srcaddr),
|
||||
&ipv6_header->srcaddr));
|
||||
DEBUG("dst: %s, len: %04X, buf: %p, proto: %u\n",
|
||||
ipv6_addr_to_str(addr_str, IPV6_MAX_ADDR_STR_LEN,
|
||||
&ipv6_header->destaddr),
|
||||
len, buf, proto);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user