mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/lwip: Don't control IPv6 usage from IPv4
This commit is contained in:
parent
4944294d45
commit
5b2c20dbf7
@ -1,6 +1,7 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
LWIP_IPV4 ?= 0
|
LWIP_IPV4 ?= 0
|
||||||
|
LWIP_IPV6 ?= 1
|
||||||
|
|
||||||
ifneq (0, $(LWIP_IPV4))
|
ifneq (0, $(LWIP_IPV4))
|
||||||
USEMODULE += ipv4_addr
|
USEMODULE += ipv4_addr
|
||||||
@ -8,10 +9,6 @@ ifneq (0, $(LWIP_IPV4))
|
|||||||
USEMODULE += lwip_ipv4
|
USEMODULE += lwip_ipv4
|
||||||
USEMODULE += lwip_dhcp_auto
|
USEMODULE += lwip_dhcp_auto
|
||||||
CFLAGS += -DETHARP_SUPPORT_STATIC_ENTRIES=1
|
CFLAGS += -DETHARP_SUPPORT_STATIC_ENTRIES=1
|
||||||
LWIP_IPV6 ?= 0
|
|
||||||
else
|
|
||||||
# use IPv6 as default IP protocol when IPv4 is not explicitly selected
|
|
||||||
LWIP_IPV6 ?= 1
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (0, $(LWIP_IPV6))
|
ifneq (0, $(LWIP_IPV6))
|
||||||
|
Loading…
Reference in New Issue
Block a user