From 896c4a5b99680371768f31d4bd0087fce9bd93fa Mon Sep 17 00:00:00 2001 From: geniusgogo <2041245+geniusgogo@users.noreply.github.com> Date: Sun, 10 Dec 2023 06:44:25 +0800 Subject: [PATCH] fix netif name length config. (#8356) --- components/net/lwip/port/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/net/lwip/port/lwipopts.h b/components/net/lwip/port/lwipopts.h index dede720731..37ed55b8a5 100644 --- a/components/net/lwip/port/lwipopts.h +++ b/components/net/lwip/port/lwipopts.h @@ -583,8 +583,8 @@ #ifdef RT_LWIP_NETIF_NAMESIZE #if (RT_LWIP_NETIF_NAMESIZE < 2) #warning NETIF_NAMESIZE too small, the value must be greater than or equal to 6. -#define NETIF_NAMESIZE RT_LWIP_NETIF_NAMESIZE #endif +#define NETIF_NAMESIZE RT_LWIP_NETIF_NAMESIZE #endif /* RT_LWIP_NETIF_NAMESIZE */ /**