chiark / gitweb /
missing: add IPV4_MIN_MTU
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Apr 2018 14:18:09 +0000 (16:18 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
Similar to IPV6_MIN_MTU, let's add the same for IPv4.

src/basic/missing.h

index 87ebd0c80b695b43ebdc20a96d709f1bbe34b0a8..42bf38da0b38d795eceb04cf6688e33c0590aa6f 100644 (file)
@@ -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