[sr-dev] git:4.3:b8dbff13: permissions: max size of subnet array set to 512

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 18 12:53:03 CET 2016


Module: kamailio
Branch: 4.3
Commit: b8dbff13ed9426e909e54442d80621624a28e50f
URL: https://github.com/kamailio/kamailio/commit/b8dbff13ed9426e909e54442d80621624a28e50f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-01-18T12:52:40+01:00

permissions: max size of subnet array set to 512

- was 128, which can be insufficient for large interconnect

(cherry picked from commit 82d7e06b09f02a2e6dab9f171586f9cd6f636f5b)

---

Modified: modules/permissions/hash.h

---

Diff:  https://github.com/kamailio/kamailio/commit/b8dbff13ed9426e909e54442d80621624a28e50f.diff
Patch: https://github.com/kamailio/kamailio/commit/b8dbff13ed9426e909e54442d80621624a28e50f.patch

---

diff --git a/modules/permissions/hash.h b/modules/permissions/hash.h
index 1ae0072..f4d101f 100644
--- a/modules/permissions/hash.h
+++ b/modules/permissions/hash.h
@@ -174,7 +174,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