From: Guus Sliepen Date: Tue, 25 Apr 2000 20:50:59 +0000 (+0000) Subject: When trying to talk to a host that is in the netmask of a tinc server but X-Git-Tag: release-1.0pre1~50 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=468f1d2efcce53937b7f5e0540269ae18f29ebac;p=tinc 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. --- diff --git a/src/net.c b/src/net.c index ceda90b8..8b340c2b 100644 --- a/src/net.c +++ b/src/net.c @@ -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; }