mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
Implement UDP dual-stack PCB support
Create special IP address type "IPADDR_TYPE_ANY" for it. SNMP uses new feature in non-netconn mode. TODO: Same for TCP & RAW, adapt NETCONN to use this feature
This commit is contained in:
@@ -131,7 +131,7 @@ ppp_pcb *pppol2tp_create(struct netif *pppif,
|
||||
|
||||
#if LWIP_IPV6
|
||||
if (IP_IS_V6_VAL(*ipaddr)) {
|
||||
udp = udp_new_ip6();
|
||||
udp = udp_new_ip_type(IPADDR_TYPE_V6);
|
||||
} else
|
||||
#endif /* LWIP_IPV6 */
|
||||
udp = udp_new();
|
||||
|
||||
Reference in New Issue
Block a user