[PR #348] [MERGED] Handle peer interface config change #12519

Closed
opened 2026-08-05 02:06:05 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/348
Author: @braginini
Created: 6/2/2022
Status: Merged
Merged: 6/4/2022
Merged by: @braginini

Base: mainHead: handle-peer-iface-config


📝 Commits (10+)

  • 78b3163 Extract network size to Network struct
  • 3e23301 Add synchronisation to WGIFace struct
  • 83af371 Handle peer config updates
  • f1939c6 Move iface.UpdateAddr to unix to avoid code duplication for mac and linux
  • d4706c0 Update modified peers
  • e4b24df Fix lint errors
  • 27d0af3 Add iface UpdateAddr test
  • 8f66446 Add test for remote peer AllowedIPs modification
  • ede3232 Correct expected-actual in iface test
  • 5a730ec Try testing on mac

📊 Changes

13 files changed (+277 additions, -82 deletions)

View changed files

📝 client/internal/engine.go (+84 -13)
📝 client/internal/engine_test.go (+34 -7)
📝 client/internal/peer/conn.go (+6 -1)
📝 client/internal/proxy/proxy.go (+1 -1)
📝 iface/configuration.go (+7 -0)
📝 iface/iface.go (+15 -29)
📝 iface/iface_darwin.go (+4 -1)
📝 iface/iface_linux.go (+10 -13)
📝 iface/iface_test.go (+68 -7)
📝 iface/iface_unix.go (+16 -2)
📝 iface/iface_windows.go (+17 -0)
📝 management/server/grpcserver.go (+3 -6)
📝 management/server/network.go (+12 -2)

📄 Description

No description provided


🔄 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/348 **Author:** [@braginini](https://github.com/braginini) **Created:** 6/2/2022 **Status:** ✅ Merged **Merged:** 6/4/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `handle-peer-iface-config` --- ### 📝 Commits (10+) - [`78b3163`](https://github.com/netbirdio/netbird/commit/78b31636e9b64aeda45570b14662873a6e94bb7f) Extract network size to Network struct - [`3e23301`](https://github.com/netbirdio/netbird/commit/3e233017ec75b6341525fc8b8b4cc2c06e19cb17) Add synchronisation to WGIFace struct - [`83af371`](https://github.com/netbirdio/netbird/commit/83af37150b6d97d2fe425218b363201efc33ab3d) Handle peer config updates - [`f1939c6`](https://github.com/netbirdio/netbird/commit/f1939c632133107f0863afe0f5beb4f253d86a98) Move iface.UpdateAddr to unix to avoid code duplication for mac and linux - [`d4706c0`](https://github.com/netbirdio/netbird/commit/d4706c0e20732988bf5ed2b6d069f70f2ec90956) Update modified peers - [`e4b24df`](https://github.com/netbirdio/netbird/commit/e4b24df9cb14eb3b25ff6fa640885b15afbab993) Fix lint errors - [`27d0af3`](https://github.com/netbirdio/netbird/commit/27d0af37605aa4d9f388a426482afb1cc1f6c67a) Add iface UpdateAddr test - [`8f66446`](https://github.com/netbirdio/netbird/commit/8f66446866414c8d316e540f50f76f97023550ba) Add test for remote peer AllowedIPs modification - [`ede3232`](https://github.com/netbirdio/netbird/commit/ede3232e8d46af50568b7b619909d2df9745e9ba) Correct expected-actual in iface test - [`5a730ec`](https://github.com/netbirdio/netbird/commit/5a730ecab36f1d47b6f74cb57d5e5082d574bd0c) Try testing on mac ### 📊 Changes **13 files changed** (+277 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/engine.go` (+84 -13) 📝 `client/internal/engine_test.go` (+34 -7) 📝 `client/internal/peer/conn.go` (+6 -1) 📝 `client/internal/proxy/proxy.go` (+1 -1) 📝 `iface/configuration.go` (+7 -0) 📝 `iface/iface.go` (+15 -29) 📝 `iface/iface_darwin.go` (+4 -1) 📝 `iface/iface_linux.go` (+10 -13) 📝 `iface/iface_test.go` (+68 -7) 📝 `iface/iface_unix.go` (+16 -2) 📝 `iface/iface_windows.go` (+17 -0) 📝 `management/server/grpcserver.go` (+3 -6) 📝 `management/server/network.go` (+12 -2) </details> ### 📄 Description _No description provided_ --- <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 02:06:05 -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#12519