comparison core/s2smanager.lua @ 10244:483cc47f15f8

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
author Kim Alvefur <zash@zash.se>
date Sat, 07 Sep 2019 17:32:55 +0200
parents b36765ab0ae3
children 3123a13cf577
comparison
equal deleted inserted replaced
10243:b36765ab0ae3 10244:483cc47f15f8
45 host_session.from_host = from_host; 45 host_session.from_host = from_host;
46 host_session.host = from_host; 46 host_session.host = from_host;
47 host_session.notopen = true; 47 host_session.notopen = true;
48 host_session.direction = "outgoing"; 48 host_session.direction = "outgoing";
49 host_session.outgoing = true; 49 host_session.outgoing = true;
50 host_session.hosts = {};
50 hosts[from_host].s2sout[to_host] = host_session; 51 hosts[from_host].s2sout[to_host] = host_session;
51 return host_session; 52 return host_session;
52 end 53 end
53 54
54 local resting_session = { -- Resting, not dead 55 local resting_session = { -- Resting, not dead