core: socket options fix SCTP_NODELAY
SCTP_NODELAY is diffrent to TCP_NODELAY. Apply proper options in case of SCTP.
This commit is contained in:
@@ -131,6 +131,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);
|
||||
|
||||
Reference in New Issue
Block a user