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 ef417d3 commit 55944afCopy full SHA for 55944af
dashboard.py
@@ -153,14 +153,7 @@ def create_visualizations(df: pd.DataFrame):
153
)
154
st.plotly_chart(fig_map, use_container_width=True)
155
156
-# Function to resolve hostnames
157
-def resolve_hostname(hostname: str) -> Optional[str]:
158
- """Resolve a hostname to an IP address"""
159
- try:
160
- return socket.gethostbyname(hostname)
161
- except socket.gaierror as e:
162
- logger.error(f"Error resolving hostname {hostname}: {str(e)}")
163
- return None
+
164
165
# capture packets
166
def start_packet_capture():
0 commit comments