Skip to content

Commit

Permalink
examples/gnrc_border_router: enable ethernet uplink
Browse files Browse the repository at this point in the history
Boards with an ethernet interface already have this as their `netdev_default`
so we don't have to enable anything here.
  • Loading branch information
benpicco committed Mar 21, 2021
1 parent cf194d1 commit 0eef9b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/gnrc_border_router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RIOTBASE ?= $(CURDIR)/../..
UPLINK ?= ethos

# Check if the selected Uplink is valid
ifeq (,$(filter ethos slip cdc-ecm wifi,$(UPLINK)))
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm` and `wifi`)
ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
$(error Supported uplinks are `ethos`, `slip`, `cdc-ecm`, `ethernet` and `wifi`)
endif

# Set the SSID and password of your WiFi network here
Expand Down Expand Up @@ -43,7 +43,7 @@ USEMODULE += ps
#USEMODULE += gnrc_ipv6_nib_dns # include RDNSS option handling

# When using a WiFi uplink we should use DHCPv6
ifeq (wifi,$(UPLINK))
ifneq (,$(filter wifi ethernet,$(UPLINK)))
USE_DHCPV6 ?= 1
else
USE_DHCPV6 ?= 0
Expand Down

0 comments on commit 0eef9b3

Please sign in to comment.