Skip to content

Commit

Permalink
fixes kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio committed Jul 12, 2022
1 parent ddcee66 commit df72290
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions firmware/network/border_router/Kconfig
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@
menu "Border Router"

menu "INTERFACE"
config WIRED_INTERFACE

int "WIRED"
default 0
range 0 1

config WIRELESS_INTERFACE

int "WIRELESS"
default 1
default 2
range 2 3

config ADDR_IPV6_WIRELESS
bool "Edit IPV6 Wireless"
default n

menu "Change Wireless IPV6"
visible if ADDR_IPV6_WIRELESS
config ADDRESS_IPV6_WIRELESS
string "Wireless address IPV6"
default "2001:db8:2::1"

endmenu # Change wireless IPV6

config ADDR_IPV6_WIRED
bool "Edit IPV6 Wired"
default n
menu "Change Wired IPV6"
visible if ADDR_IPV6_WIRED

config ADDRESS_IPV6_WIRED
string "Wired address IPV6"
default "2001:db8:1::1"
config ADDRESS_IPV6_WIRED
string "Wired address IPV6"
default "2001:db8:1::1"

config ADDRESS_IPV6_WIRELESS
string "Wireless address IPV6"
default "2001:db8:2::1"
endmenu # Change wired IPV6

endmenu # Prefix
endmenu

0 comments on commit df72290

Please sign in to comment.