Merge pull request #504 from adamdunkels/push/ping-reply-api

A ping reply API
This commit is contained in:
Adam Dunkels 2014-01-26 14:03:21 -08:00
commit 17d48c6d7a
3 changed files with 150 additions and 4 deletions

View file

@ -1431,7 +1431,8 @@ uip_process(uint8_t flag)
uip_icmp6_echo_request_input();
break;
case ICMP6_ECHO_REPLY:
/** \note We don't implement any application callback for now */
/** Call echo reply input function. */
uip_icmp6_echo_reply_input();
PRINTF("Received an icmp6 echo reply\n");
UIP_STAT(++uip_stat.icmp.recv);
uip_len = 0;