From 5d637360cc4cfb1d72e5bcbc6be0390938198512 Mon Sep 17 00:00:00 2001 From: sg Date: Tue, 8 Mar 2016 21:04:21 +0100 Subject: [PATCH] fixed ERR_IS_FATAL() after changing ERR_IF to non-fatal --- src/include/lwip/err.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/err.h b/src/include/lwip/err.h index 479fc6c8..c04d1727 100644 --- a/src/include/lwip/err.h +++ b/src/include/lwip/err.h @@ -63,7 +63,7 @@ typedef s8_t err_t; #define ERR_CONN -11 /* Not connected. */ #define ERR_IF -12 /* Low-level netif error */ -#define ERR_IS_FATAL(e) ((e) < ERR_CONN) +#define ERR_IS_FATAL(e) ((e) < ERR_IF) #define ERR_ABRT -13 /* Connection aborted. */ #define ERR_RST -14 /* Connection reset. */