blob: 131be4a9bdf655bfe52e0143043a253bac750f44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ac,v 1.3 2006/03/23 00:53:48 joerg Exp $
--- pptpctrl.c.orig 2004-04-28 11:36:07.000000000 +0000
+++ pptpctrl.c
@@ -32,6 +32,11 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_OPENPTY
+#if defined(__DragonFly__)
+#include <libutil.h>
+#else
+#include <util.h>
+#endif
#ifdef HAVE_PTY_H
#include <pty.h>
#endif
@@ -734,7 +739,7 @@ static void launch_pppd(char **pppaddrs,
if (pptp_logwtmp) {
pppd_argv[an++] = "plugin";
- pppd_argv[an++] = "/usr/lib/pptpd/pptpd-logwtmp.so";
+ pppd_argv[an++] = "/usr/pkg/lib/pptpd/pptpd-logwtmp.so";
pppd_argv[an++] = "pptpd-original-ip";
pppd_argv[an++] = inet_ntoa(inetaddrs[1]);
}
|