Skip to content

Commit

Permalink
sys/shell/ping: reduce text to save ROM
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-cabaj committed Sep 20, 2023
1 parent 838e62c commit a958fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/shell/cmds/gnrc_icmpv6_echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)))) {

Check warning on line 213 in sys/shell/cmds/gnrc_icmpv6_echo.c

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
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;
Expand Down

0 comments on commit a958fa2

Please sign in to comment.