diff --git a/dashboard/backend/main.py b/dashboard/backend/main.py index 40f43b6..b6717d5 100644 --- a/dashboard/backend/main.py +++ b/dashboard/backend/main.py @@ -123,7 +123,7 @@ async def client_ip(request: Request): if ip.startswith("100."): try: proc = await asyncio.create_subprocess_exec( - "ping", "-c", "1", "-W", "1", "192.168.31.2", + "ping", "-c", "1", "-W", "1", "192.168.31.1", stdout=asyncio.subprocess.DEVNULL, stderr=asyncio.subprocess.DEVNULL, ) return {"ip": ip, "lan": await asyncio.wait_for(proc.wait(), 2) == 0}