Skip to content
Snippets Groups Projects
Commit 19668932 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

Merge pull request #2912 from sgso/fix-ng_icmpv6_echo

ng_icmpv6_echo: fix call to undefined function
parents 74e076d3 d0ea7c2a
No related branches found
No related tags found
No related merge requests found
...@@ -67,9 +67,9 @@ void ng_icmpv6_echo_req_handle(kernel_pid_t iface, ng_ipv6_hdr_t *ipv6_hdr, ...@@ -67,9 +67,9 @@ void ng_icmpv6_echo_req_handle(kernel_pid_t iface, ng_ipv6_hdr_t *ipv6_hdr,
return; return;
} }
pkt = _echo_build(NG_ICMPV6_ECHO_REP, byteorder_ntohs(echo->id), pkt = ng_icmpv6_echo_build(NG_ICMPV6_ECHO_REP, byteorder_ntohs(echo->id),
byteorder_ntohs(echo->seq), payload, byteorder_ntohs(echo->seq), payload,
len - sizeof(ng_icmpv6_echo_t)); len - sizeof(ng_icmpv6_echo_t));
if (pkt == NULL) { if (pkt == NULL) {
DEBUG("icmpv6_echo: no space left in packet buffer\n"); DEBUG("icmpv6_echo: no space left in packet buffer\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment