aboutsummaryrefslogtreecommitdiffstats
path: root/main/pptpd/fix_MSG_TRYHARD.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/pptpd/fix_MSG_TRYHARD.patch')
-rw-r--r--main/pptpd/fix_MSG_TRYHARD.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/pptpd/fix_MSG_TRYHARD.patch b/main/pptpd/fix_MSG_TRYHARD.patch
new file mode 100644
index 0000000000..3e30295ca6
--- /dev/null
+++ b/main/pptpd/fix_MSG_TRYHARD.patch
@@ -0,0 +1,13 @@
+--- a/bcrelay.c
++++ b/bcrelay.c
+@@ -61,6 +61,10 @@
+ // software to your hearts content. You are free to redistribute it as
+ // long as it is accompanied with the source and my credit is included.
+
++#ifndef MSG_TRYHARD
++ # define MSG_TRYHARD MSG_DONTROUTE
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif