mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-06 16:26:18 +08:00
lwip_itoa: fix converting 0 (bug #51729)
lwip_itoa would output the number 0 as \0. This fixes the issue by adding a special check before the normal conversion loop This was found via shell cmd idxtoname and win32 port. "lo0" should be returned for index 1
This commit is contained in:
@@ -71,6 +71,9 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2017-08-11: Joel Cunningham
|
||||
* lwip_itoa: fix converting the number 0 (previously converted to '\0') (bug #51729)
|
||||
|
||||
2017-08-08: Dirk Ziegelmeier
|
||||
* ip4_route_src: parameter order is reversed: ip4_route_src(dest, src) -> ip4_route_src(src, dest)
|
||||
to make parameter order consistent with other ip*_route*() functions
|
||||
|
||||
Reference in New Issue
Block a user