Skip to content

Commit

Permalink
resolve wg changes conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainmohd-a authored Oct 2, 2024
1 parent 45bc02a commit 7776b3d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,7 @@ object WireguardManager : KoinComponent {
}
}
Logger.d(LOG_TAG_PROXY, "optimalCatchAllConfig: fetching new wgId for uid: $uid")
val catchAllList = mappings.filter {
val id = ProxyManager.ID_WG_BASE + it.id
it.isActive && it.isCatchAll && VpnController.canRouteIp(id, ip, false) }
val catchAllList = mappings.filter { it.isActive && it.isCatchAll }
catchAllList.forEach {
if (isValidWgConnForIp(it.id, ip)) {
// note the uid and wgid in a cache, so that we can use it for further requests
Expand Down

0 comments on commit 7776b3d

Please sign in to comment.