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

Comparing gvpe/src/protocol.C (file contents):
Revision 1.21 by pcg, Fri Mar 28 04:05:10 2003 UTC vs.
Revision 1.22 by pcg, Fri Mar 28 04:27:33 2003 UTC

840 { 840 {
841 case vpn_packet::PT_PING: 841 case vpn_packet::PT_PING:
842 // we send pings instead of auth packets after some retries, 842 // we send pings instead of auth packets after some retries,
843 // so reset the retry counter and establish a connection 843 // so reset the retry counter and establish a connection
844 // when we receive a ping. 844 // when we receive a ping.
845 if (!ictx && !octx) 845 if (!ictx)
846 { 846 {
847 if (auth_rate_limiter.can (rsi)) 847 if (auth_rate_limiter.can (rsi))
848 send_auth_request (rsi, true); 848 send_auth_request (rsi, true);
849 } 849 }
850 else 850 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines