[PR #2240] [MERGED] fix: add network watcher back #2717

Closed
opened 2026-10-14 21:04:15 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2240
Author: @ygurov
Created: 2/18/2026
Status: ✅ Merged
Merged: 2/19/2026
Merged by: @vkamn

Base: dev ← Head: fix/network_watcher


📝 Commits (3)

  • 29aa925 feat: add reconnect in case of changing network
  • 68f6b39 fix: reconnect to VPN on wakeup
  • 13639ba fix: linux wakeup build

📊 Changes

14 files changed (+125 additions, -163 deletions)

View changed files

📝 client/mozilla/networkwatcher.cpp (+3 -9)
📝 client/mozilla/networkwatcher.h (+2 -4)
📝 client/mozilla/networkwatcherimpl.h (+1 -1)
📝 client/platforms/linux/linuxnetworkwatcher.cpp (+2 -2)
📝 client/platforms/linux/linuxnetworkwatcherworker.cpp (+1 -1)
📝 client/platforms/linux/linuxnetworkwatcherworker.h (+1 -1)
📝 client/platforms/macos/macosnetworkwatcher.mm (+2 -2)
📝 client/platforms/windows/windowsnetworkwatcher.cpp (+1 -1)
📝 client/protocols/wireguardprotocol.cpp (+2 -2)
📝 client/protocols/xrayprotocol.cpp (+0 -2)
📝 client/vpnconnection.cpp (+100 -125)
📝 client/vpnconnection.h (+6 -10)
📝 ipc/ipc_interface.rep (+2 -1)
📝 service/server/localserver.cpp (+2 -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/amnezia-vpn/amnezia-client/pull/2240 **Author:** [@ygurov](https://github.com/ygurov) **Created:** 2/18/2026 **Status:** ✅ Merged **Merged:** 2/19/2026 **Merged by:** [@vkamn](https://github.com/vkamn) **Base:** `dev` ← **Head:** `fix/network_watcher` --- ### 📝 Commits (3) - [`29aa925`](https://github.com/amnezia-vpn/amnezia-client/commit/29aa925a760d80633274e6601ffaa4c3654ff74e) feat: add reconnect in case of changing network - [`68f6b39`](https://github.com/amnezia-vpn/amnezia-client/commit/68f6b398aa331f90a7f68b6ac3332eadbbcec807) fix: reconnect to VPN on wakeup - [`13639ba`](https://github.com/amnezia-vpn/amnezia-client/commit/13639bacbf1e4385d7d526d5c575a0d6a7770f99) fix: linux wakeup build ### 📊 Changes **14 files changed** (+125 additions, -163 deletions) <details> <summary>View changed files</summary> 📝 `client/mozilla/networkwatcher.cpp` (+3 -9) 📝 `client/mozilla/networkwatcher.h` (+2 -4) 📝 `client/mozilla/networkwatcherimpl.h` (+1 -1) 📝 `client/platforms/linux/linuxnetworkwatcher.cpp` (+2 -2) 📝 `client/platforms/linux/linuxnetworkwatcherworker.cpp` (+1 -1) 📝 `client/platforms/linux/linuxnetworkwatcherworker.h` (+1 -1) 📝 `client/platforms/macos/macosnetworkwatcher.mm` (+2 -2) 📝 `client/platforms/windows/windowsnetworkwatcher.cpp` (+1 -1) 📝 `client/protocols/wireguardprotocol.cpp` (+2 -2) 📝 `client/protocols/xrayprotocol.cpp` (+0 -2) 📝 `client/vpnconnection.cpp` (+100 -125) 📝 `client/vpnconnection.h` (+6 -10) 📝 `ipc/ipc_interface.rep` (+2 -1) 📝 `service/server/localserver.cpp` (+2 -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>
bsakaguchi 2026-10-14 21:04:15 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2717
No description provided.