Skip to content

fix: handle missing interface on disconnect recovery - #357

Merged
wojcik91 merged 9 commits into
stable/2.xfrom
disconnect_recovery_fix
Jul 29, 2026
Merged

fix: handle missing interface on disconnect recovery#357
wojcik91 merged 9 commits into
stable/2.xfrom
disconnect_recovery_fix

Conversation

@wojcik91

Copy link
Copy Markdown
Contributor

Instead of just creating the interface once on startup, when attempting to apply configuration check if it exists and recreate it if necessary.

Also change the approach to cleaning up on disconnect - instead of calling purge(), use a less drastic approach and just remove any peers.

Resolves #354

j-chmielewski
j-chmielewski previously approved these changes Jul 29, 2026
@wojcik91
wojcik91 merged commit 739ba36 into stable/2.x Jul 29, 2026
2 checks passed
@wojcik91
wojcik91 deleted the disconnect_recovery_fix branch July 29, 2026 09:14
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.

Failed to configure: WireGuard error: Netlink error: Netlink payload error: No such device

2 participants