mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
shell: sc_icmpv6_echo: don't fail if packet buffer is full
This commit is contained in:
parent
d5284948f4
commit
e9cbadd3cd
@ -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