summaryrefslogtreecommitdiffstats
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-20 16:18:09 +0200
committerLennart Poettering <lennart@poettering.net>2018-04-26 13:51:44 +0200
commit4d7c3570a6cd057cb131d53c19edae8258ed914f (patch)
treeaebd313cce43ccd634d428f2f22abf4bba8f5786 /src/basic/missing.h
parentnetworkd: drop duplicate definition of IPV6_MIN_MTU (diff)
downloadsystemd-4d7c3570a6cd057cb131d53c19edae8258ed914f.tar.xz
systemd-4d7c3570a6cd057cb131d53c19edae8258ed914f.zip
missing: add IPV4_MIN_MTU
Similar to IPV6_MIN_MTU, let's add the same for IPv4.
Diffstat (limited to '')
-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 953b0f413e..9fe750ae28 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -1057,6 +1057,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