aboutsummaryrefslogtreecommitdiff
path: root/net/pptpclient/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'net/pptpclient/files/patch-af')
-rw-r--r--net/pptpclient/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/pptpclient/files/patch-af b/net/pptpclient/files/patch-af
new file mode 100644
index 000000000000..e47e99662601
--- /dev/null
+++ b/net/pptpclient/files/patch-af
@@ -0,0 +1,11 @@
+--- pptp_ctrl.c~ Thu Feb 19 07:42:14 1998
++++ pptp_ctrl.c Sun Nov 14 11:12:03 1999
+@@ -513,7 +513,7 @@
+ close_reason = PPTP_STOP_PROTOCOL;
+ goto pptp_conn_close;
+ }
+- if (ntoh8(packet->result_code)!=1) { /* some problem with start */
++ if (ntoh8(packet->result_code)!=1 && ntoh8(packet->result_code)!=0) { /* some problem with start */
+ /* if result_code == 5, we might fall back to different version */
+ if (conn->callback!=NULL) conn->callback(conn, CONN_OPEN_FAIL);
+ close_reason = PPTP_STOP_PROTOCOL;