Date: Wed, 26 Jan 2000 21:56:28 +0900 (KST) From: cjh@wdb.co.kr To: FreeBSD-gnats-submit@freebsd.org Subject: ports/16372: Ports fix: net/pptpclient Message-ID: <200001261256.VAA26999@kfug.kr.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 16372 >Category: ports >Synopsis: Ports fix: net/pptpclient >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 26 05:00:06 PST 2000 >Closed-Date: >Last-Modified: >Originator: CHOI Junho >Release: FreeBSD 3.4-STABLE i386 >Organization: Web Data Bank Co. >Environment: FreeBSD gradius.myhome 3.4-STABLE FreeBSD 3.4-STABLE #6: Sun Jan 9 12:32:52 KST 2000 root@gradius.myhome:/usr/src/sys/compile/GRADIUS i386 >Description: This is a patch to pptpclient. In Korea, there is famous ADSL service called Hanaro, it uses PPTP when using external ADSL modem (no open-source solution for internal modem yet). pptp-linux 1.0.2 needs this patch to work in Hanaro. But I think that it is harmless patch so it has no problem when applied. I've mailed pptp-linux maintainer this but no reply until now. >How-To-Repeat: build it! >Fix: diff -uNr /usr/ports/net/pptpclient/patches/patch-ba pptpclient/patches/patch-ba --- /usr/ports/net/pptpclient/patches/patch-ba Thu Jan 1 09:00:00 1970 +++ pptpclient/patches/patch-ba Tue Jan 25 23:20:45 2000 @@ -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; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001261256.VAA26999>