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 */ /**