summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorDaniel Skowroński <daniel@dsinf.net>2016-12-27 13:07:05 +0100
committerDaniel Skowroński <daniel@dsinf.net>2016-12-27 13:07:05 +0100
commit18c9dc8a0649c866eff9f299f20fa5b19c502e52 (patch)
treeed24d865dfc3cec56f68fa1b24212ed0fd5b389a /node
parentba07d1f91d49203856a28890521daf1a5cb2cfcf (diff)
downloadinfinitytier-18c9dc8a0649c866eff9f299f20fa5b19c502e52.tar.gz
infinitytier-18c9dc8a0649c866eff9f299f20fa5b19c502e52.zip
fix RTF_MULTICAST and g++ -w
Diffstat (limited to 'node')
-rw-r--r--node/Constants.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index b137e6ae..b16cb9b5 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -124,6 +124,10 @@
#include <endian.h>
#endif
+#ifdef __NetBSD__
+#define RTF_MULTICAST 0x20000000
+#endif
+
/**
* Length of a ZeroTier address in bytes
*/