core.s2smanager: Add map of names authenticate for remote on s2sout for parity with s2sin
authorKim Alvefur <zash@zash.se>
Sat, 07 Sep 2019 17:32:55 +0200
changeset 10248 483cc47f15f8
parent 10247 b36765ab0ae3
child 10249 88efdfb0a126
core.s2smanager: Add map of names authenticate for remote on s2sout for parity with s2sin Making s2sin and -out look more alike in preparation for bidi support
core/s2smanager.lua
--- a/core/s2smanager.lua	Sat Sep 07 17:31:26 2019 +0200
+++ b/core/s2smanager.lua	Sat Sep 07 17:32:55 2019 +0200
@@ -47,6 +47,7 @@
 	host_session.notopen = true;
 	host_session.direction = "outgoing";
 	host_session.outgoing = true;
+	host_session.hosts = {};
 	hosts[from_host].s2sout[to_host] = host_session;
 	return host_session;
 end