4c99ad1ba9
When implementing IPv6-related logic, we found the `net_ipv6_pref2mask` and `net_ipv6addr_copy` are using different argument order: ``` net_ipv6addr_copy(ifaddr->addr, addr); net_ipv6_pref2mask(preflen, ifaddr->mask); ``` Change the order to: ``` net_ipv6addr_copy(ifaddr->addr, addr); net_ipv6_pref2mask(ifaddr->mask, preflen); ``` Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
netdev_carrier.c | ||
netdev_count.c | ||
netdev_default.c | ||
netdev_findbyaddr.c | ||
netdev_findbyindex.c | ||
netdev_findbyname.c | ||
netdev_foreach.c | ||
netdev_ifconf.c | ||
netdev_input.c | ||
netdev_iob.c | ||
netdev_ioctl.c | ||
netdev_ipv6.c | ||
netdev_lladdrsize.c | ||
netdev_register.c | ||
netdev_txnotify.c | ||
netdev_unregister.c | ||
netdev_verify.c | ||
netdev.h | ||
netdown_notifier.c |