chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177629c
)
missing: add IPV4_MIN_MTU
author
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Apr 2018 14:18:09 +0000
(16:18 +0200)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index 87ebd0c80b695b43ebdc20a96d709f1bbe34b0a8..42bf38da0b38d795eceb04cf6688e33c0590aa6f 100644
(file)
--- 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