mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 20:13:50 +01:00
Merge pull request #5320 from cgundogan/pr/shell/icmpv6_without_nc
shell: icmpv6_echo: guard call to *_nc_still_reachable
This commit is contained in:
commit
f90b607180
@ -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…
x
Reference in New Issue
Block a user