summaryrefslogtreecommitdiff
path: root/net-vpn/pptpd/files/pptpd-1.4.0-musl.patch
blob: 998a07acf7e9630b777ad602328a683b5bbfc112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Modified patch from Alpine Linux
https://git.alpinelinux.org/aports/plain/main/pptpd/fix_MSG_TRYHARD.patch

--- a/bcrelay.c
+++ b/bcrelay.c
@@ -103,6 +103,10 @@
 #include "our_syslog.h"
 #include "our_getopt.h"
 
+#ifndef MSG_TRYHARD
+	#define MSG_TRYHARD    MSG_DONTROUTE
+#endif
+
 //#define VERSION "1.0"
 
 /* uncomment if you compile this without poptop's configure script */