From 2de5e0eef911b9ff723d562ef9c62d833f3cdc45 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 25 Mar 2002 15:51:58 +0000 Subject: [PATCH] Send REQ_KEY only once until ANS_KEY has arrived. --- src/net_packet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net_packet.c b/src/net_packet.c index dcdd73ca..7216fb5f 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_packet.c,v 1.1.2.11 2002/03/18 22:47:20 guus Exp $ + $Id: net_packet.c,v 1.1.2.12 2002/03/25 15:51:58 guus Exp $ */ #include "config.h" @@ -215,6 +215,8 @@ cp if(!n->status.waitingforkey) send_req_key(n->nexthop->connection, myself, n); + n->status.waitingforkey = 1; + return; } -- 2.20.1