From ef8ea37d26716869cd4572152ffedc047700f747 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 22 Jan 2018 01:30:50 -0800 Subject: allow passing local_id to datconnect (and peer) --- src/bin/geniza-net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin') 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)) => { -- cgit v1.2.3