mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-03 23:32:29 -08:00
Get rid of hostName checks when refreshing VRCOSC settings (#1867)
This commit is contained in:
1 parent
2b82638961
commit
5b45d26c2d
1 file changed
+1
-2
@@ -119,7 +119,7 @@ class VRCOSCHandler(
|
||||
for (netInt in NetworkInterface.getNetworkInterfaces()) {
|
||||
if (netInt.isUp && !netInt.isLoopback && !netInt.isVirtual) {
|
||||
for (netAddr in netInt.interfaceAddresses) {
|
||||
if (a == netAddr.address || a.address.contentEquals(netAddr.address.address) || a.hostName == netAddr.address.hostName) {
|
||||
if (a == netAddr.address || a.address.contentEquals(netAddr.address.address)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
@@ -134,7 +134,6 @@ class VRCOSCHandler(
|
||||
b != null &&
|
||||
(
|
||||
a.address.contentEquals(b.address) ||
|
||||
(a.hostName == b.hostName) ||
|
||||
(ipIsLocal(a) && ipIsLocal(b))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user