aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-01-22 01:30:50 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-01-22 01:30:50 -0800
commitef8ea37d26716869cd4572152ffedc047700f747 (patch)
tree07ab323d523775e98ada04078c72c5b4f8d4a108 /src/bin
parente547fa64ce684211f8eb76738f133adfad296eaa (diff)
downloadgeniza-ef8ea37d26716869cd4572152ffedc047700f747.tar.gz
geniza-ef8ea37d26716869cd4572152ffedc047700f747.zip
allow passing local_id to datconnect (and peer)
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/geniza-net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/geniza-net.rs b/src/bin/geniza-net.rs
index b3a55ba..aeeef85 100644
--- a/src/bin/geniza-net.rs
+++ b/src/bin/geniza-net.rs
@@ -62,7 +62,7 @@ fn run() -> Result<()> {
let dat_key = subm.value_of("dat_key").unwrap();
let key_bytes = parse_dat_address(&dat_key)?;
let key = Key::from_slice(&key_bytes).unwrap();
- DatConnection::connect(host_port, &key, false)?;
+ DatConnection::connect(host_port, &key, false, None)?;
println!("Done!");
}
("discovery-key", Some(subm)) => {