22 lines
694 B
Text
22 lines
694 B
Text
--- 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;
|