summaryrefslogtreecommitdiff
path: root/community/pptpd/unrecognized-opt.patch
blob: 17ec49e521bd3683b87789a3077844fd6930c88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -wbBur pptpd-1.3.4/pptpctrl.c pptpd-1.3.4.my/pptpctrl.c
--- pptpd-1.3.4/pptpctrl.c	2006-12-08 03:01:40.000000000 +0300
+++ pptpd-1.3.4.my/pptpctrl.c	2012-05-09 21:13:30.000000000 +0400
@@ -759,8 +759,8 @@
 			syslog(LOG_DEBUG, "CTRL (PPPD Launcher): remote address = %s", pppaddrs[1]);
 	}
 	
-	if (*pppaddrs[0] || *pppaddrs[1]) {
 		char pppInterfaceIPs[33];
+	if (*pppaddrs[0] || *pppaddrs[1]) {
 		sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
 		pppd_argv[an++] = pppInterfaceIPs;
 	}