We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1168c9 commit 331012fCopy full SHA for 331012f
2 files changed
zmapsdk/api.py
@@ -1,6 +1,7 @@
1
import os
2
import tempfile
3
from contextlib import asynccontextmanager
4
+
5
import psutil
6
import uvicorn
7
from fastapi import FastAPI, HTTPException
zmapsdk/runner.py
@@ -352,6 +352,7 @@ def get_interfaces(self) -> list[str]:
352
try:
353
# Using psutil to get network interfaces
354
355
356
return [iface for iface in psutil.net_if_addrs().keys()]
357
except ImportError:
358
# Fallback to socket for basic interface detection
0 commit comments