netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.76k stars 485 forks source link

Never skip removing allowed IPs #2099

Closed lixmal closed 3 months ago

lixmal commented 3 months ago

Describe your changes

Removes the check about whether a peer is still connected before removing allowed IPs (= decreasing ref count to 0)

Issue ticket number and link

Fixes #2093

Checklist