From 0de0942f9c8e0128e69ce14a1db066b5b5b01e3a Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 23 Apr 2015 07:46:06 +0200 Subject: [PATCH] fixed pppol2tp (IP_IS_V6_L -> IP_IS_V6_VAL) --- src/netif/ppp/pppol2tp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/ppp/pppol2tp.c b/src/netif/ppp/pppol2tp.c index a02766fd..ed87f0e7 100644 --- a/src/netif/ppp/pppol2tp.c +++ b/src/netif/ppp/pppol2tp.c @@ -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 */