Skip to content

Commit

Permalink
[nrf noup] Increase the maximum number of prefixes to match
Browse files Browse the repository at this point in the history
the maximum number of IPv6 addresses per interface.

Zephyr ipv6_nbr implementation requires the given address
to have a matching prefix set on the interface. Otherwise,
the default router is used for sending neighbor advertisement
and as a result, in case there are multiple routers in the network,
the packet can be sent to the invalid interface (not the one which
issued neighbor solicitation).

Signed-off-by: Marcin Kajor <[email protected]>
  • Loading branch information
markaj-nordic committed Oct 4, 2023
1 parent 350869a commit 3b93541
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ choice WPA_SUPP_LOG_LEVEL_CHOICE
default WPA_SUPP_LOG_LEVEL_ERR
endchoice

# increase the prefixes limit to match
# maximum number of IPv6 addresses per interface
config NET_IF_IPV6_PREFIX_COUNT
default 6

# it saves us 20kB of FLASH
config WPA_SUPP_NO_DEBUG
default y
Expand Down

0 comments on commit 3b93541

Please sign in to comment.