X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmeta.c;h=c3d4f82906614c47c4a6223407ced76c3d5728d0;hp=f2326d118896cad21cc28f53de5488dbbfdcd708;hb=8b2b67e26c5b971761f5015764d5e188f6343bc4;hpb=c2b9c06062d36bde859b630b99a08c7b7428e721 diff --git a/src/meta.c b/src/meta.c index f2326d11..c3d4f829 100644 --- a/src/meta.c +++ b/src/meta.c @@ -1,7 +1,7 @@ /* meta.c -- handle the meta communication - Copyright (C) 2000-2002 Guus Sliepen , - 2000-2002 Ivo Timmermans + Copyright (C) 2000-2002 Guus Sliepen , + 2000-2002 Ivo Timmermans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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: meta.c,v 1.1.2.24 2002/02/18 16:25:16 guus Exp $ + $Id: meta.c,v 1.1.2.27 2002/09/04 16:26:44 guus Exp $ */ #include "config.h" @@ -182,6 +182,7 @@ cp if(reqlen) { + c->reqlen = reqlen; if(receive_request(c)) return -1; @@ -204,7 +205,7 @@ cp return -1; } - c->last_ping_time = time(NULL); + c->last_ping_time = now; cp return 0; }