Remove another set of "leaked" ifdefs that somehow found
their way into FreeBSD.
This commit is contained in:
parent
58ac2d97b7
commit
33141385fc
@ -3490,11 +3490,7 @@ sctp_lowlevel_chunk_output(struct sctp_inpcb *inp,
|
||||
tos_value = inp->ip_inp.inp.inp_ip_tos;
|
||||
}
|
||||
if ((nofragment_flag) && (port == 0)) {
|
||||
#if defined(WITH_CONVERT_IP_OFF) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__Userspace__)
|
||||
ip->ip_off = IP_DF;
|
||||
#else
|
||||
ip->ip_off = htons(IP_DF);
|
||||
#endif
|
||||
} else
|
||||
ip->ip_off = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user