mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
examples/gnrc_border_router: enable ethernet uplink
Boards with an ethernet interface already have this as their `netdev_default` so we don't have to enable anything here.
This commit is contained in:
parent
cf194d1bf7
commit
0eef9b3a75
@ -11,8 +11,8 @@ RIOTBASE ?= $(CURDIR)/../..
|
|||||||
UPLINK ?= ethos
|
UPLINK ?= ethos
|
||||||
|
|
||||||
# Check if the selected Uplink is valid
|
# Check if the selected Uplink is valid
|
||||||
ifeq (,$(filter ethos slip cdc-ecm wifi,$(UPLINK)))
|
ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
|
||||||
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm` and `wifi`)
|
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm`, `ethernet` and `wifi`)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Set the SSID and password of your WiFi network here
|
# Set the SSID and password of your WiFi network here
|
||||||
@ -43,7 +43,7 @@ USEMODULE += ps
|
|||||||
#USEMODULE += gnrc_ipv6_nib_dns # include RDNSS option handling
|
#USEMODULE += gnrc_ipv6_nib_dns # include RDNSS option handling
|
||||||
|
|
||||||
# When using a WiFi uplink we should use DHCPv6
|
# When using a WiFi uplink we should use DHCPv6
|
||||||
ifeq (wifi,$(UPLINK))
|
ifneq (,$(filter wifi ethernet,$(UPLINK)))
|
||||||
USE_DHCPV6 ?= 1
|
USE_DHCPV6 ?= 1
|
||||||
else
|
else
|
||||||
USE_DHCPV6 ?= 0
|
USE_DHCPV6 ?= 0
|
||||||
|
Loading…
Reference in New Issue
Block a user