[sr-dev] git:master:82d7e06b: permissions: max size of subnet array set to 512
Daniel-Constantin Mierla
miconda at gmail.com
Mon Dec 28 23:14:02 CET 2015
Module: kamailio
Branch: master
Commit: 82d7e06b09f02a2e6dab9f171586f9cd6f636f5b
URL: https://github.com/kamailio/kamailio/commit/82d7e06b09f02a2e6dab9f171586f9cd6f636f5b
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/82d7e06b09f02a2e6dab9f171586f9cd6f636f5b.diff
Patch: https://github.com/kamailio/kamailio/commit/82d7e06b09f02a2e6dab9f171586f9cd6f636f5b.patch
---
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
/*
More information about the sr-dev
mailing list