mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
Two compile fixes after eliminating isipv6 member in PCBs
This commit is contained in:
@@ -434,7 +434,6 @@ raw_new_ip6(u8_t proto)
|
||||
struct raw_pcb *pcb;
|
||||
pcb = raw_new(proto);
|
||||
#if LWIP_IPV4
|
||||
ip_set_v6(pcb, 1);
|
||||
IP_SET_TYPE_VAL(pcb->local_ip, IPADDR_TYPE_V6);
|
||||
IP_SET_TYPE_VAL(pcb->remote_ip, IPADDR_TYPE_V6);
|
||||
#endif /* LWIP_IPV4 */
|
||||
|
||||
Reference in New Issue
Block a user