gnrc_border_router: Kconfig and C disagree about number of addresses per interface #19947
Labels
Area: examples
Area: Example Applications
Area: Kconfig
Area: Kconfig integration
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
When running the border router with UHCP and trying to add another address to the upstream interface, you are unable to add it, since it only accepts 2 (as configured in
sys/include/net/gnrc/netif/conf.h
). However, withmake menuconfig
it shows 3 available addresses. That config is not applied, however, ifmenuconfig
is not saved.Steps to reproduce the issue
Flash
examples/gnrc_border_router
to any board, connect with UHCP for address configuration and try to add another address to the upstream interface e.g.With
have a look at
System → Networking → GNRC Network stack → Configure GNRC network interface
, and look atMaximum number of unicast and anycast addresses per interface
. It should be 3. Exit themenuconfig
and do not save! (and make sure for good measure thatexamples/gnrc_border_router/bin/<board>/generated
is empty.)Expected results
You should be able to add the address, at least going by the Kconfig.
Actual results
The
ifconfig
shell command fails withIf you run
make menuconfig
and safe this time (hittings
), and try to repeat the steps to reproduce, the expected result will be seen.Versions
Current master (based on
2022.10-devel
)The text was updated successfully, but these errors were encountered: