Added #if UIP_CONF_IPV6 around the IPv6 code in the uIP source tree to allow the C files to be compiled even if IPv6 is not configured.
This commit is contained in:
parent
db1e8cdbac
commit
927cc8d895
14 changed files with 40 additions and 7 deletions
|
@ -34,6 +34,8 @@
|
|||
|
||||
#include "net/uip-fw.h"
|
||||
|
||||
#if !UIP_CONF_IPV6
|
||||
|
||||
PROCESS(uip_fw_process, "IP forwarding");
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -48,3 +50,5 @@ PROCESS_THREAD(uip_fw_process, ev, data)
|
|||
PROCESS_END();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue