mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #3513 from authmillenon/shell/fix/icmpv6_echo_pktbuf_full
shell: sc_icmpv6_echo: don't fail if packet buffer is full
This commit is contained in:
commit
952bee6804
@ -213,7 +213,7 @@ int _icmpv6_ping(int argc, char **argv)
|
||||
|
||||
if (pkt == NULL) {
|
||||
puts("error: packet buffer full");
|
||||
return 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
_set_payload(pkt->data, payload_len);
|
||||
@ -223,7 +223,7 @@ int _icmpv6_ping(int argc, char **argv)
|
||||
|
||||
if (pkt == NULL) {
|
||||
puts("error: packet buffer full");
|
||||
return 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
vtimer_now(&start);
|
||||
|
Loading…
Reference in New Issue
Block a user