Module: kamailio
Branch: master
Commit: 82d7e06b09f02a2e6dab9f171586f9cd6f636f5b
URL:
https://github.com/kamailio/kamailio/commit/82d7e06b09f02a2e6dab9f171586f9c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-12-28T23:11:59+01:00
permissions: max size of subnet array set to 512
- was 128, which can be insufficient for large interconnect
---
Modified: modules/permissions/hash.h
---
Diff:
https://github.com/kamailio/kamailio/commit/82d7e06b09f02a2e6dab9f171586f9c…
Patch:
https://github.com/kamailio/kamailio/commit/82d7e06b09f02a2e6dab9f171586f9c…
---
diff --git a/modules/permissions/hash.h b/modules/permissions/hash.h
index 1823084..cfb6813 100644
--- a/modules/permissions/hash.h
+++ b/modules/permissions/hash.h
@@ -176,7 +176,7 @@ int addr_hash_table_rpc_print(struct addr_list** table, rpc_t* rpc,
void* c);
void empty_addr_hash_table(struct addr_list** hash_table);
-#define PERM_MAX_SUBNETS 128
+#define PERM_MAX_SUBNETS 512
/*