SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
net/poptop/patches/patch-pptpctrl_c
Normal file
22
net/poptop/patches/patch-pptpctrl_c
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- 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;
|
Loading…
Add table
Add a link
Reference in a new issue