mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Fixes __FreeBSD__ being present (they should not)
and also trailing garbage on undef of magic numbers.
This commit is contained in:
parent
804cf64147
commit
2c0d559d1e
1 changed files with 4 additions and 6 deletions
|
|
@ -28,10 +28,8 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -842,7 +840,7 @@ sctp_peeloff(int sd, sctp_assoc_t assoc_id)
|
|||
#endif
|
||||
|
||||
|
||||
#undef SCTP_CONTROL_VEC_SIZE_SND 8192
|
||||
#undef SCTP_CONTROL_VEC_SIZE_RCV 16384
|
||||
#undef SCTP_STACK_BUF_SIZE 2048
|
||||
#undef SCTP_SMALL_IOVEC_SIZE 2
|
||||
#undef SCTP_CONTROL_VEC_SIZE_SND
|
||||
#undef SCTP_CONTROL_VEC_SIZE_RCV
|
||||
#undef SCTP_STACK_BUF_SIZE
|
||||
#undef SCTP_SMALL_IOVEC_SIZE
|
||||
|
|
|
|||
Loading…
Reference in a new issue