projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Suppress UBSan warnings in the xoshiro implementation.
[tinc]
/
src
/
system.h
diff --git
a/src/system.h
b/src/system.h
index
f9675f9
..
b3d9e0a
100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-29,6
+29,12
@@
# define strsignal(p) ""
#endif
+#if _____LP64_____
+#define SUBNET_HASH_SIZE 0x10000
+#else
+#define SUBNET_HASH_SIZE 0x1000
+#endif
+
/* Other functions */
#include "dropin.h"