summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-unix.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 18:43:32 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 18:43:32 +0200
commit583bc67ba55e5827f11bc904a253fe65f4b99b43 (patch)
treecb2f10f8eb3a38eeb3a850dd3e1941aa959bb880 /src/transport/gnunet-communicator-unix.c
parentd20be8a919b93cbfd1e1de3b41ca0fa370949b05 (diff)
tng: MTU fix for other UNIXes, log message
Diffstat (limited to 'src/transport/gnunet-communicator-unix.c')
-rw-r--r--src/transport/gnunet-communicator-unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c
index 148f7f886..53b6cf8be 100644
--- a/src/transport/gnunet-communicator-unix.c
+++ b/src/transport/gnunet-communicator-unix.c
@@ -57,7 +57,11 @@
/**
* Our MTU.
*/
+#ifdef LINUX
#define UNIX_MTU UINT16_MAX
+#else
+#define UNIX_MTU 2048
+#endif
GNUNET_NETWORK_STRUCT_BEGIN