Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2006 12:53:58 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/96386: net/poptop broken
Message-ID:  <3D0210C6-358A-422E-851E-851D98521CB0@lassitu.de>
In-Reply-To: <200604291302.k3TD2RWt041984@freefall.freebsd.org>
References:  <200604291302.k3TD2RWt041984@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Updated files/patch-pptpctrl.c:
--- pptpctrl.c.orig	Mon Jan 24 23:04:13 2005
+++ pptpctrl.c	Sat May  6 12:48:55 2006
@@ -742,7 +742,6 @@
  		sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
  		pppd_argv[an++] = pppInterfaceIPs;
  	}
-#endif

          if (!noipparam) {
                   pppd_argv[an++] = "ipparam";
@@ -751,10 +750,11 @@

          if (pptp_logwtmp) {
                   pppd_argv[an++] = "plugin";
-                 pppd_argv[an++] = "/usr/lib/pptpd/pptpd-logwtmp.so";
+                 pppd_argv[an++] = "%%PREFIX%%/lib/pptpd/pptpd- 
logwtmp.so";
                   pppd_argv[an++] = "pptpd-original-ip";
                   pppd_argv[an++] = inet_ntoa(inetaddrs[1]);
          }
+#endif

  	/* argv arrays must always be NULL terminated */
  	pppd_argv[an++] = NULL;



-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0210C6-358A-422E-851E-851D98521CB0>