chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networkd: bump MTU to 1280 for interfaces which have IPv6 enabled (#3077)
[elogind.git]
/
src
/
basic
/
missing.h
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index f50ba94706fcf2386b7a46f65fb1535d91823d9f..0175747f8d1d40b8743514caf963b2ee908979c7 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-959,6
+959,10
@@
static inline int setns(int fd, int nstype) {
#define IPV6_UNICAST_IF 76
#endif
+#ifndef IPV6_MIN_MTU
+#define IPV6_MIN_MTU 1280
+#endif
+
#ifndef IFF_MULTI_QUEUE
#define IFF_MULTI_QUEUE 0x100
#endif