From addf0b3d98aa508ad6b21a48459d7dfbf4a5e3a9 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Fri, 19 Sep 2014 10:07:31 -0300 Subject: [PATCH] Fixed OSX IP packet sending. --- src/ip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ip.cpp b/src/ip.cpp index 5c57bcb..252ce11 100644 --- a/src/ip.cpp +++ b/src/ip.cpp @@ -387,7 +387,7 @@ void IP::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU* pare protocol(new_flag); } - #if __FreeBSD__ || defined(__FreeBSD_kernel__) + #if __FreeBSD__ || defined(__FreeBSD_kernel__) || __APPLE__ if(!parent) total_sz = Endian::host_to_be(total_sz); #endif