Fix PRINTF statement in sicslowpan
This commit is contained in:
parent
5d67a612b4
commit
f0d1b6c5bb
|
@ -1580,8 +1580,8 @@ input(void)
|
||||||
|
|
||||||
/* If this is the last fragment, we may shave off any extrenous
|
/* If this is the last fragment, we may shave off any extrenous
|
||||||
bytes at the end. We must be liberal in what we accept. */
|
bytes at the end. We must be liberal in what we accept. */
|
||||||
PRINTFI("last_fragment?: processed_ip_in_len %d packetbuf_payload_len %d frag_size %d\n",
|
PRINTFI("last_fragment?: packetbuf_payload_len %d frag_size %d\n",
|
||||||
processed_ip_in_len, packetbuf_datalen() - packetbuf_hdr_len, frag_size);
|
packetbuf_datalen() - packetbuf_hdr_len, frag_size);
|
||||||
|
|
||||||
/* Add the fragment to the fragmentation context (this will also
|
/* Add the fragment to the fragmentation context (this will also
|
||||||
copy the payload) */
|
copy the payload) */
|
||||||
|
@ -1661,7 +1661,7 @@ input(void)
|
||||||
PRINTF(
|
PRINTF(
|
||||||
"SICSLOWPAN: packet dropped, minimum required IP_BUF size: %d+%d+%d+%d=%d (current size: %u)\n",
|
"SICSLOWPAN: packet dropped, minimum required IP_BUF size: %d+%d+%d+%d=%d (current size: %u)\n",
|
||||||
UIP_LLH_LEN, uncomp_hdr_len, (uint16_t)(frag_offset << 3),
|
UIP_LLH_LEN, uncomp_hdr_len, (uint16_t)(frag_offset << 3),
|
||||||
packetbuf_payload_len, req_size, sizeof(uip_buf));
|
packetbuf_payload_len, req_size, (unsigned)sizeof(uip_buf));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue