X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsystem.h;h=b3d9e0ab4c6e5b346aac194958063e3cf695b05c;hb=04d8a8e34e1fe7f33f1946863b36a24ee358175f;hp=f9675f95961f773d44adb9b223108184f93b0275;hpb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;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"