Two compile fixes after eliminating isipv6 member in PCBs

This commit is contained in:
Dirk Ziegelmeier
2016-02-22 17:07:17 +01:00
parent d8531a2407
commit 17fad79f71
2 changed files with 1 additions and 2 deletions

View File

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