summaryrefslogtreecommitdiffstats
path: root/src/ssh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.rs')
-rw-r--r--src/ssh.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh.rs b/src/ssh.rs
index 3508a36..606509a 100644
--- a/src/ssh.rs
+++ b/src/ssh.rs
@@ -23,7 +23,7 @@ impl KnownHosts {
.flatten()
.take_while(|s| !s.starts_with('#'))
.filter_map(|l| l.split_whitespace().next().map(str::to_owned))
- .map(Session::from)
+ .map(Session::discover)
.collect();
Ok(Self(inner))