mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Fix coding style.
This commit is contained in:
parent
d0ebeb409e
commit
1e61fca653
@ -126,15 +126,11 @@ neighbor_info_packet_sent(int status, int numtx)
|
||||
add_neighbor(dest);
|
||||
#if UIP_DS6_LL_NUD
|
||||
nbr = uip_ds6_nbr_ll_lookup((uip_lladdr_t *)dest);
|
||||
if (nbr!=NULL) {
|
||||
PRINTF("neighbor-info : nbr state = %u\n",nbr->state);
|
||||
} else {
|
||||
PRINTF("neighbor-info : no nbr\n");
|
||||
}
|
||||
if (nbr!=NULL && (nbr->state == STALE || nbr->state == DELAY || nbr->state == PROBE)) {
|
||||
if(nbr != NULL &&
|
||||
(nbr->state == STALE || nbr->state == DELAY || nbr->state == PROBE)) {
|
||||
nbr->state = REACHABLE;
|
||||
stimer_set(&nbr->reachable, UIP_ND6_REACHABLE_TIME / 1000);
|
||||
PRINTF("neighbor-info : received a linklayer ack : ");
|
||||
PRINTF("neighbor-info : received a link layer ACK : ");
|
||||
PRINTLLADDR((uip_lladdr_t *)dest);
|
||||
PRINTF(" is reachable.\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user