mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-12 18:43:39 +08:00
Fix compile when IPv4 is disabled
This commit is contained in:
@@ -52,7 +52,7 @@ snmp_netconn_thread(void *arg)
|
||||
LWIP_UNUSED_ARG(arg);
|
||||
|
||||
/* Bind to SNMP port with default IP address */
|
||||
#if LWIP_IPV6
|
||||
#if LWIP_IPV6
|
||||
conn = netconn_new(NETCONN_UDP_IPV6);
|
||||
netconn_bind(conn, IP6_ADDR_ANY, SNMP_IN_PORT);
|
||||
#else /* LWIP_IPV6 */
|
||||
|
||||
Reference in New Issue
Block a user