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:
parent
2492e21766
commit
acf2074369
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user