43f5f8629c
Disabled plugins support on *bsd (upstream patch) Remove unnedeed patches "ok portwise" sthen@
24 lines
762 B
Plaintext
24 lines
762 B
Plaintext
$OpenBSD: patch-pptpctrl_c,v 1.3 2009/01/21 16:07:15 giovanni Exp $
|
|
--- pptpctrl.c.orig Fri Dec 8 01:01:40 2006
|
|
+++ pptpctrl.c Wed Oct 8 09:28:48 2008
|
|
@@ -764,7 +764,6 @@ static void launch_pppd(char **pppaddrs, struct in_add
|
|
sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
|
|
pppd_argv[an++] = pppInterfaceIPs;
|
|
}
|
|
-#endif
|
|
|
|
if (!noipparam) {
|
|
pppd_argv[an++] = "ipparam";
|
|
@@ -777,6 +776,11 @@ static void launch_pppd(char **pppaddrs, struct in_add
|
|
pppd_argv[an++] = "pptpd-original-ip";
|
|
pppd_argv[an++] = inet_ntoa(inetaddrs[1]);
|
|
}
|
|
+
|
|
+/*
|
|
+ * Disable noipparam and logwtmp on BSD
|
|
+ */
|
|
+#endif
|
|
|
|
/* argv arrays must always be NULL terminated */
|
|
pppd_argv[an++] = NULL;
|