|
From: | Nirav Desai |
Subject: | [lwip-users] Error due to empty structure in dhcp6.h |
Date: | Thu, 22 Dec 2016 12:20:24 +0000 |
Hi ,
It is seen that dhcp6 is not yet implemented.
But dhcp6.h has a template of an empty structure.
struct dhcp6
{
/address@hidden: implement DHCP6*/
};
dhcp6.h is included in 2 source files viz.
netif.c
ip6.c
In netif.c the inclusion is guarded by a macro
#if LWIP_IPV6_DHCP6
#include "lwip/dhcp6.h"
#endif /* LWIP_IPV6_DHCP6 */
But in ip6.c there is no such guard.
On compilation with LWIP_IPV6 defined 1,
compilers like IAR give a build error.
It would be good if ip6.c also includes the file
with a guard of LWIP_IPV6_DHCP6.
Thanks & Best Regards,
Nirav
|
[Prev in Thread] | Current Thread | [Next in Thread] |