Send REQ_KEY only once until ANS_KEY has arrived.
This commit is contained in:
parent
a0c1696515
commit
2de5e0eef9
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
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"
|
#include "config.h"
|
||||||
|
@ -215,6 +215,8 @@ cp
|
||||||
if(!n->status.waitingforkey)
|
if(!n->status.waitingforkey)
|
||||||
send_req_key(n->nexthop->connection, myself, n);
|
send_req_key(n->nexthop->connection, myself, n);
|
||||||
|
|
||||||
|
n->status.waitingforkey = 1;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue