X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsystem.h;h=0224fbea2d0c9cd47a1e9c9886900f25c05308b2;hb=90cde91141ec61be4354d8deab21edb8fdf01022;hp=f9675f95961f773d44adb9b223108184f93b0275;hpb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;p=tinc diff --git a/src/system.h b/src/system.h index f9675f95..0224fbea 100644 --- a/src/system.h +++ b/src/system.h @@ -21,7 +21,7 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "../config.h" +#include "config.h" #include "have.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"