[Fix] DHCP Failure on WAN Interface Rename (Fixes #504)#505
Merged
rsmarples merged 1 commit intoNetworkConfiguration:masterfrom Apr 26, 2025
Merged
Conversation
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
May 16, 2025
* Restore logic on when to open an address specific socket by @dougnazar in NetworkConfiguration/dhcpcd#502 * [Fix] DHCP Failure on WAN Interface Rename (Fixes #504) by @ngxquanganh in NetworkConfiguration/dhcpcd#505 * BSD: routes via P2P interfaces now find their out-going interface * -b --background fixed * resolv: Fix processing more DNSSL options than RDNSS] * dhcpcd: Remove option rapid_commit from dhcpcd.conf * privsep: Fix valgrind and hardened-malloc on Linux with SECCOMP * route: Don't spam route changes for lifetime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As discussed in #504 , this fixes a DHCP issue when the WAN interface rename, left
/etc/resolv.confempty. The change updatesif-linux.cto stop the old interface (ifp->name) and start the new one (ifn)