From 583bc67ba55e5827f11bc904a253fe65f4b99b43 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 1 Jun 2020 18:43:32 +0200 Subject: tng: MTU fix for other UNIXes, log message --- src/transport/gnunet-communicator-unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/transport/gnunet-communicator-unix.c') 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 -- cgit v1.2.3