mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/shell/ping: reduce text to save ROM
This commit is contained in:
parent
838e62ca9f
commit
a958fa2baf
@ -211,7 +211,7 @@ static int _configure(int argc, char **argv, _ping_data_t *data)
|
||||
value = atoi(argv[i]);
|
||||
|
||||
if ((value < 0) || ((unsigned)value > (UINT16_MAX - sizeof(icmpv6_hdr_t)))) {
|
||||
printf("ICMPv6 datagram size should be in range 0-65527.\n");
|
||||
printf("ping size should be in range 0-65527.\n");
|
||||
return -1;
|
||||
}
|
||||
data->datalen = value;
|
||||
|
Loading…
Reference in New Issue
Block a user