1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/gnrc_border_router: static: use router from advertisements by default

This commit is contained in:
Benjamin Valentin 2023-01-27 18:01:00 +01:00
parent 2492e21766
commit acf2074369
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,8 @@ else ifeq (auto_subnets,$(PREFIX_CONF))
USEMODULE += gnrc_ipv6_auto_subnets_simple
else ifeq (static,$(PREFIX_CONF))
IPV6_ADDR ?= 2001:db8:1::1
IPV6_DEFAULT_ROUTER ?= fe80::1
# Only set this if the default router does not send router advertisements
# IPV6_DEFAULT_ROUTER ?= fe80::1
USEMODULE += gnrc_ipv6_static_addr
endif

View File

@ -30,6 +30,5 @@ config GNRC_IPV6_STATIC_ADDR_DOWNSTREAM
config GNRC_IPV6_STATIC_DEFAULT_ROUTER
string "Static IPv6 address of the default router"
default "2001:db8::1"
endif # KCONFIG_USEMODULE_GNRC_IPV6_STATIC_ADDR