All pastes #961304 Raw Edit

Someone

public text v1 · immutable
#961304 ·published 2008-03-28 20:03 UTC
rendered paste body
--- pptp_ctrl_old.c	2006-02-13 08:07:42.000000000 +0500
+++ pptp_ctrl.c	2007-01-29 00:08:20.000000000 +0500
@@ -1046,8 +1046,8 @@
     /* "Keep Alives and Timers, 2": check echo status */
     if (global.conn->ka_state == KA_OUTSTANDING) {
         /* no response to keep-alive */
-        log ("closing control connection due to missing echo reply");
-	pptp_conn_close(global.conn, PPTP_STOP_NONE);
+        log ("here was \"closing control connection due to missing echo reply\" but it removed");
+	global.conn->ka_state = KA_NONE;
     } else { /* ka_state == NONE */ /* send keep-alive */
         struct pptp_echo_rqst rqst = {
             PPTP_HEADER_CTRL(PPTP_ECHO_RQST), hton32(global.conn->ka_id) };