diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-01 18:43:32 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-01 18:43:32 +0200 |
commit | 583bc67ba55e5827f11bc904a253fe65f4b99b43 (patch) | |
tree | cb2f10f8eb3a38eeb3a850dd3e1941aa959bb880 /src/transport/gnunet-communicator-unix.c | |
parent | d20be8a919b93cbfd1e1de3b41ca0fa370949b05 (diff) | |
download | gnunet-583bc67ba55e5827f11bc904a253fe65f4b99b43.tar.gz gnunet-583bc67ba55e5827f11bc904a253fe65f4b99b43.zip |
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.c | 4 |
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 @@ | |||
57 | /** | 57 | /** |
58 | * Our MTU. | 58 | * Our MTU. |
59 | */ | 59 | */ |
60 | #ifdef LINUX | ||
60 | #define UNIX_MTU UINT16_MAX | 61 | #define UNIX_MTU UINT16_MAX |
62 | #else | ||
63 | #define UNIX_MTU 2048 | ||
64 | #endif | ||
61 | 65 | ||
62 | GNUNET_NETWORK_STRUCT_BEGIN | 66 | GNUNET_NETWORK_STRUCT_BEGIN |
63 | 67 | ||