You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ndp: fix macOS IPv6 compatibility by using link-local source addresses
macOS ignores NDP packets that don't originate from link-local addresses,
causing IPv6 connectivity issues with odhcpd. This change ensures NDP
packets (Neighbor Advertisements and ICMP Echo Requests) are sent using
link-local source addresses for RFC 4861 compliance.
Changes:
- Add odhcpd_send_with_src() to allow explicit source address control
- Add odhcpd_get_interface_linklocal_addr() to find link-local addresses
- Update send_na() and ping6() to prefer link-local source addresses
- Maintain backward compatibility with fallback behavior
Fixes: openwrt/openwrt#7561
0 commit comments