lwIP - A Lightweight TCP/IP stack - Bugs: bug #58467, stats.c inconsistent use of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58467: stats.c inconsistent use of STAT_COUNTER_F
Submitter: | Mike Protts <mikeprotts> | ||
Submitted: | Sun 31 May 2020 10:00:02 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | git head |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-758e.
Corresponding source code
The code in stats.c, starting at line 104, is currently:
should be using STAT_COUNTER_F for consistency:
This causes problems with platforms that do not support the h length modifier, e.g. ChibiOS, as the value is replaced with the string literal "hu". With version LWIP version 2.0.3 using LWIP_STATS_LARGE 1 caused all stats to print correctly, with version 2.1.2 (and later) the error shows for these particular cases.