Added and updated debugging printouts and reformatted code to make it a little easier to read.
This commit is contained in:
parent
248301a041
commit
82e8eb420d
4 changed files with 39 additions and 5 deletions
|
@ -43,6 +43,10 @@
|
|||
void
|
||||
uip_debug_ipaddr_print(const uip_ipaddr_t *addr)
|
||||
{
|
||||
if(addr == NULL || addr->u8 == NULL) {
|
||||
printf("(NULL IP addr)");
|
||||
return;
|
||||
}
|
||||
#if UIP_CONF_IPV6
|
||||
uint16_t a;
|
||||
unsigned int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue