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:
Erik Ekman 2015-07-20 11:34:47 +02:00 committed by Sylvain Rochet
parent 5b0d9338fd
commit e448a9a4a9

View File

@ -50,13 +50,14 @@ static const char *err_strerr[] = {
"Illegal value.", /* ERR_VAL -6 */
"Operation would block.", /* ERR_WOULDBLOCK -7 */
"Address in use.", /* ERR_USE -8 */
"Already connected.", /* ERR_ISCONN -9 */
"Not connected.", /* ERR_CONN -10 */
"Connection aborted.", /* ERR_ABRT -11 */
"Connection reset.", /* ERR_RST -12 */
"Connection closed.", /* ERR_CLSD -13 */
"Illegal argument.", /* ERR_ARG -14 */
"Low-level netif error.", /* ERR_IF -15 */
"Already connecting.", /* ERR_ALREADY -9 */
"Already connected.", /* ERR_ISCONN -10 */
"Not connected.", /* ERR_CONN -11 */
"Connection aborted.", /* ERR_ABRT -12 */
"Connection reset.", /* ERR_RST -13 */
"Connection closed.", /* ERR_CLSD -14 */
"Illegal argument.", /* ERR_ARG -15 */
"Low-level netif error.", /* ERR_IF -16 */
};
/**