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:
1f5a8cc
)
core: socket options fix SCTP_NODELAY
author
Susant Sahani
<ssahani@gmail.com>
Thu, 31 Dec 2015 06:35:57 +0000
(12:05 +0530)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000
(15:22 +0200)
SCTP_NODELAY is diffrent to TCP_NODELAY.
Apply proper options in case of SCTP.
src/basic/missing.h
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index a9871f680ac596d88a068ac6e0ace4d79faea611..af071bd37b7e873695e24e2bd00f4b643812e238 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-133,6
+133,10
@@
#define NETLINK_LIST_MEMBERSHIPS 9
#endif
+#ifndef SOL_SCTP
+#define SOL_SCTP 132
+#endif
+
#if !HAVE_DECL_PIVOT_ROOT
static inline int pivot_root(const char *new_root, const char *put_old) {
return syscall(SYS_pivot_root, new_root, put_old);