ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/connection.C
(Generate patch)

Comparing gvpe/src/connection.C (file contents):
Revision 1.48 by pcg, Tue Mar 8 00:32:54 2005 UTC vs.
Revision 1.50 by pcg, Fri Mar 18 01:53:05 2005 UTC

27 27
28#include <openssl/rand.h> 28#include <openssl/rand.h>
29#include <openssl/evp.h> 29#include <openssl/evp.h>
30#include <openssl/rsa.h> 30#include <openssl/rsa.h>
31#include <openssl/err.h> 31#include <openssl/err.h>
32
33#include "gettext.h"
34 32
35#include "conf.h" 33#include "conf.h"
36#include "slog.h" 34#include "slog.h"
37#include "device.h" 35#include "device.h"
38#include "vpn.h" 36#include "vpn.h"
768 else 766 else
769 send_ping (dsi, 0); 767 send_ping (dsi, 0);
770 } 768 }
771 } 769 }
772 770
773 retry_int *= slow ? 3. : 0.7; 771 retry_int *= slow ? 8. : 0.7;
774 772
775 if (retry_int < conf->max_retry) 773 if (retry_int < conf->max_retry)
776 retry_cnt++; 774 retry_cnt++;
777 else 775 else
778 retry_int = conf->max_retry; 776 retry_int = conf->max_retry;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines