mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-08 00:36:43 +00:00
err, debug: add missing ERR_ALREADY to lwip_strerr()
When ERR_ALREADY was added other error codes were renumbered. The strerr function was not updated so it returned incorrect data for ERR_CONN - ERR_IF.
This commit is contained in:
parent
5b0d9338fd
commit
e448a9a4a9
@ -50,13 +50,14 @@ static const char *err_strerr[] = {
|
|||||||
"Illegal value.", /* ERR_VAL -6 */
|
"Illegal value.", /* ERR_VAL -6 */
|
||||||
"Operation would block.", /* ERR_WOULDBLOCK -7 */
|
"Operation would block.", /* ERR_WOULDBLOCK -7 */
|
||||||
"Address in use.", /* ERR_USE -8 */
|
"Address in use.", /* ERR_USE -8 */
|
||||||
"Already connected.", /* ERR_ISCONN -9 */
|
"Already connecting.", /* ERR_ALREADY -9 */
|
||||||
"Not connected.", /* ERR_CONN -10 */
|
"Already connected.", /* ERR_ISCONN -10 */
|
||||||
"Connection aborted.", /* ERR_ABRT -11 */
|
"Not connected.", /* ERR_CONN -11 */
|
||||||
"Connection reset.", /* ERR_RST -12 */
|
"Connection aborted.", /* ERR_ABRT -12 */
|
||||||
"Connection closed.", /* ERR_CLSD -13 */
|
"Connection reset.", /* ERR_RST -13 */
|
||||||
"Illegal argument.", /* ERR_ARG -14 */
|
"Connection closed.", /* ERR_CLSD -14 */
|
||||||
"Low-level netif error.", /* ERR_IF -15 */
|
"Illegal argument.", /* ERR_ARG -15 */
|
||||||
|
"Low-level netif error.", /* ERR_IF -16 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user