X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsystem.h;h=b3d9e0ab4c6e5b346aac194958063e3cf695b05c;hb=9a018c2e371eb1cef9708ac71653f2f2868895fa;hp=f9675f95961f773d44adb9b223108184f93b0275;hpb=914d1be411229c28e6e8e4a0df99afa076a8b448;p=tinc diff --git a/src/system.h b/src/system.h index f9675f95..b3d9e0ab 100644 --- 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"