X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=8b340c2b254ca9bf77d0b910da8cea5bdd00ad31;hp=ceda90b837ecd5e1b2651a235fa49d844acbf3c1;hb=468f1d2efcce53937b7f5e0540269ae18f29ebac;hpb=6461a4b607f5e422b5809acb772e4bfe810b5570 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; }