summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-20 16:18:09 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit91723aa6753c9412b6640242c4afe058e999551d (patch)
tree09e641b436fff37a491dba897141e38ac2671b4d
parent177629c34ed8345b561c7f04a3698981d4df5f0a (diff)
missing: add IPV4_MIN_MTU
Similar to IPV6_MIN_MTU, let's add the same for IPv4.
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 87ebd0c80..42bf38da0 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -1062,6 +1062,10 @@ struct input_mask {
#define IPV6_MIN_MTU 1280
#endif
+#ifndef IPV4_MIN_MTU
+#define IPV4_MIN_MTU 68
+#endif
+
#ifndef IFF_MULTI_QUEUE
#define IFF_MULTI_QUEUE 0x100
#endif