[PR #3854] [MERGED] [client] Fix legacy routes when connecting to mgmt servers older than v0.30.0 #21685

Open
opened 2026-08-05 05:08:49 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3854
Author: @lixmal
Created: 5/21/2025
Status: Merged
Merged: 5/21/2025
Merged by: @lixmal

Base: mainHead: fix-legacy-routes


📝 Commits (1)

  • 4cc3ae3 Fix legacy routes when connecting to management servers older than v0.30.0

📊 Changes

2 files changed (+8 additions, -6 deletions)

View changed files

📝 client/internal/acl/manager.go (+0 -6)
📝 client/internal/engine.go (+8 -0)

📄 Description

Describe your changes

v0.40.0 switched the order of applying ACLs and routes, making setting up legacy management too late. So, we moved it to an earlier place in the network map update.

Fixes #3841

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/3854 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 5/21/2025 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `fix-legacy-routes` --- ### 📝 Commits (1) - [`4cc3ae3`](https://github.com/netbirdio/netbird/commit/4cc3ae329c73523faba9516c5a968f3fc752a467) Fix legacy routes when connecting to management servers older than v0.30.0 ### 📊 Changes **2 files changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/acl/manager.go` (+0 -6) 📝 `client/internal/engine.go` (+8 -0) </details> ### 📄 Description ## Describe your changes v0.40.0 switched the order of applying ACLs and routes, making setting up legacy management too late. So, we moved it to an earlier place in the network map update. ## Issue ticket number and link Fixes #3841 ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 05:08:49 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#21685