Update ethernetif.c
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN', not only equal to 'sizeof(struct netif)'.
Showing
想要评论请 注册 或 登录
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN', not only equal to 'sizeof(struct netif)'.