Skip to content

Conversation

@ColinMcInnes
Copy link
Contributor

If "noipv4ll" configured, do not drop IPv4 link local addresses from interface.

Resolves #462

/* Stop IPv4LL now we have a working DHCP address */
if (!IN_LINKLOCAL(ntohl(ia->s_addr)))
if ((!IN_LINKLOCAL(ntohl(ia->s_addr)))
&& (ifp->options->options & DHCPCD_IPV4LL))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to do this inside ipv4ll_drop?

@rsmarples rsmarples merged commit 0a38e02 into NetworkConfiguration:master Feb 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DHCPv4 NAK causes type "host" addresses to be deleted

2 participants