mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 04:51:44 +00:00
4275b6930b
Needed forward declaration for missing function. Removed some no longer needed musl fixes. Signed-off-by: Rosen Penev <rosenp@gmail.com>
22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
--- a/bcrelay.c
|
|
+++ b/bcrelay.c
|
|
@@ -746,7 +746,7 @@ static void mainloop(int argc, char **ar
|
|
* because it is filled in automatically
|
|
* (based on the contents of sa).
|
|
*/
|
|
- if ((nrsent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_TRYHARD, (struct sockaddr *)&sa, salen)) < 0)
|
|
+ if ((nrsent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_DONTROUTE, (struct sockaddr *)&sa, salen)) < 0)
|
|
{
|
|
if (errno == ENETDOWN) {
|
|
syslog(LOG_NOTICE, "ignored ENETDOWN from sendto(), a network interface was going down?");
|
|
--- a/plugins/pptpd-logwtmp.c
|
|
+++ b/plugins/pptpd-logwtmp.c
|
|
@@ -17,6 +17,7 @@
|
|
#include <pppd/pppd.h>
|
|
#include <pppd/options.h>
|
|
|
|
+extern void logwtmp(const char *line, const char *name, const char *host);
|
|
char pppd_version[] = PPPD_VERSION;
|
|
|
|
static char pptpd_original_ip[PATH_MAX+1];
|