When trying to talk to a host that is in the netmask of a tinc server but
not the tinc server itself, and no keys have been exchanged yet, the key request would be directed to the host instead of the server. Fixed.
This commit is contained in:
parent
6461a4b607
commit
468f1d2efc
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ cp
|
|||
{
|
||||
add_queue(&(cl->sq), packet, packet->len + 2);
|
||||
if(!cl->status.waitingforkey)
|
||||
send_key_request(to);
|
||||
send_key_request(cl->vpn_ip); /* Keys should be sent to the host running the tincd */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue