summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a6a00d9..756e46d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,6 +34,7 @@ use ratatui::backend::{Backend, CrosstermBackend};
use simplelog::WriteLogger;
use crate::cli::Opt;
+use crate::os::ProcessInfo;
const DISPLAY_DELTA: Duration = Duration::from_millis(1000);
@@ -89,7 +90,7 @@ fn main() -> anyhow::Result<()> {
}
pub struct OpenSockets {
- sockets_to_procs: HashMap<LocalSocket, String>,
+ sockets_to_procs: HashMap<LocalSocket, ProcessInfo>,
}
pub struct OsInputOutput {