Logging fixes
This commit is contained in:
parent
9231d9f82d
commit
830ac8a2da
@ -673,9 +673,9 @@ tcpip_ipv6_output(void)
|
||||
uip_ds6_set_lladdr_from_iid(&lladdr, nexthop);
|
||||
if((nbr = uip_ds6_nbr_add(nexthop, &lladdr,
|
||||
0, NBR_REACHABLE, NBR_TABLE_REASON_IPV6_ND_AUTOFILL, NULL)) == NULL) {
|
||||
PRINTF("tcpip_ipv6_output: failed to autofill neighbor cache for host ");
|
||||
PRINT6ADDR(nexthop);
|
||||
PRINTF("\n");
|
||||
LOG_ERR("output: failed to autofill neighbor cache for host ");
|
||||
LOG_ERR_6ADDR(nexthop);
|
||||
LOG_ERR("\n");
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@
|
||||
|
||||
/* Log configuration */
|
||||
#include "sys/log.h"
|
||||
#define LOG_MODULE "
|
||||
#define LOG_MODULE "CSMA"
|
||||
#define LOG_LEVEL MAC_LOG_LEVEL
|
||||
|
||||
/* Constants of the IEEE 802.15.4 standard */
|
||||
|
Loading…
Reference in New Issue
Block a user