mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Add debug output to service check
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11991,10 +11991,11 @@ def check_dump1090_service():
|
||||
sock.settimeout(2)
|
||||
result = sock.connect_ex(('localhost', 30003))
|
||||
sock.close()
|
||||
print(f"[ADS-B] Service check: port 30003 connect result = {result}")
|
||||
if result == 0:
|
||||
return 'localhost:30003'
|
||||
except:
|
||||
pass
|
||||
except Exception as e:
|
||||
print(f"[ADS-B] Service check error: {e}")
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user