mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
shell: icmpv6_echo: guard call to *_nc_still_reachable
This commit is contained in:
parent
e6d90e33ce
commit
2d8c3b47df
@ -108,7 +108,9 @@ int _handle_reply(gnrc_pktsnip_t *pkt, uint32_t time)
|
||||
ipv6_addr_to_str(ipv6_str, &(ipv6_hdr->src), sizeof(ipv6_str)),
|
||||
byteorder_ntohs(icmpv6_hdr->id), seq, (unsigned)ipv6_hdr->hl,
|
||||
time / MS_IN_USEC, time % MS_IN_USEC);
|
||||
#ifdef MODULE_GNRC_IPV6_NC
|
||||
gnrc_ipv6_nc_still_reachable(&ipv6_hdr->src);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
puts("error: unexpected parameters");
|
||||
|
Loading…
Reference in New Issue
Block a user