fixed pppol2tp (IP_IS_V6_L -> IP_IS_V6_VAL)

This commit is contained in:
goldsimon 2015-04-23 07:46:06 +02:00
parent 00a46f104a
commit 0de0942f9c

View File

@ -136,7 +136,7 @@ ppp_pcb *pppol2tp_create(struct netif *pppif,
}
#if LWIP_IPV6
if (IP_IS_V6_L(ipaddr)) {
if (IP_IS_V6_VAL(*ipaddr)) {
udp = udp_new_ip6();
} else
#endif /* LWIP_IPV6 */