diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-03 10:53:50 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-03 11:12:16 -0600 |
commit | 4ec75b3e9badb2fc12e8a88d65e99f45ad953562 (patch) | |
tree | 102ad53ca42ea34ad6f705008b54b0784e242b64 /network/pptpd/patches/pptpctl_fix.patch | |
parent | 14428f0756c6cb532756f34dd14eef9f14b78e1a (diff) | |
download | slackbuilds-4ec75b3e9badb2fc12e8a88d65e99f45ad953562.tar.gz |
network/pptpd: Rearranged $CWD - no functional changes
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/pptpd/patches/pptpctl_fix.patch')
-rw-r--r-- | network/pptpd/patches/pptpctl_fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/network/pptpd/patches/pptpctl_fix.patch b/network/pptpd/patches/pptpctl_fix.patch new file mode 100644 index 0000000000..86011c275e --- /dev/null +++ b/network/pptpd/patches/pptpctl_fix.patch @@ -0,0 +1,13 @@ +diff -rupN pptpd-1.3.4/pptpctrl.c pptpd-1.3.4.new/pptpctrl.c +--- pptpd-1.3.4/pptpctrl.c 2006-12-08 13:01:40.000000000 +1300 ++++ pptpd-1.3.4.new/pptpctrl.c 2012-09-14 11:16:38.646659399 +1200 +@@ -759,8 +759,8 @@ static void launch_pppd(char **pppaddrs, + syslog(LOG_DEBUG, "CTRL (PPPD Launcher): remote address = %s", pppaddrs[1]); + } + ++ char pppInterfaceIPs[33]; + if (*pppaddrs[0] || *pppaddrs[1]) { +- char pppInterfaceIPs[33]; + sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]); + pppd_argv[an++] = pppInterfaceIPs; + } |