diff --git a/rnex-core/src/nex/matchmake.rs b/rnex-core/src/nex/matchmake.rs index 8e825fc..45e0aba 100644 --- a/rnex-core/src/nex/matchmake.rs +++ b/rnex-core/src/nex/matchmake.rs @@ -409,7 +409,7 @@ impl ExtendedMatchmakeSession { }) { return Ok(false); } - if !search_criteria.attribs.get(2).is_some_and(|s: w| { + if !search_criteria.attribs.get(2).is_some_and(|s| { self.session .attributes .get(2) diff --git a/rnex-core/src/nex/user.rs b/rnex-core/src/nex/user.rs index 51e77a5..4ab0a7b 100644 --- a/rnex-core/src/nex/user.rs +++ b/rnex-core/src/nex/user.rs @@ -149,7 +149,9 @@ impl Secure for User { url.options.iter().any(|o| o == target_addr) && url.options.iter().any(|o| o == target_port) }) else { - return Err(ErrorCode::Core_InvalidArgument); + //return Err(ErrorCode::Core_InvalidArgument); + //probably internal ip + return Ok(()); }; *replacement_target = dest;