make local connection secured
This commit is contained in:
parent
1ce9d78c81
commit
539cf03ad5
@ -109,6 +109,7 @@ message LocalAddr {
|
||||
bytes socket_addr = 1;
|
||||
bytes local_addr = 2;
|
||||
string relay_server = 3;
|
||||
string id = 4;
|
||||
}
|
||||
|
||||
message RendezvousMessage {
|
||||
|
@ -302,6 +302,7 @@ impl RendezvousMediator {
|
||||
relay_server = fla.relay_server;
|
||||
}
|
||||
msg_out.set_local_addr(LocalAddr {
|
||||
id: Config::get_id(),
|
||||
socket_addr: AddrMangle::encode(peer_addr),
|
||||
local_addr: AddrMangle::encode(local_addr),
|
||||
relay_server,
|
||||
|
Loading…
Reference in New Issue
Block a user