Module: kamailio
Branch: master
Commit: 899b0f4518b768fd8184fb97b0c8c64cecf3a575
URL:
https://github.com/kamailio/kamailio/commit/899b0f4518b768fd8184fb97b0c8c64…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-12-12T08:18:24Z
core: also print maximum branches parameter compile time value
---
Modified: src/core/dset.c
---
Diff:
https://github.com/kamailio/kamailio/commit/899b0f4518b768fd8184fb97b0c8c64…
Patch:
https://github.com/kamailio/kamailio/commit/899b0f4518b768fd8184fb97b0c8c64…
---
diff --git a/src/core/dset.c b/src/core/dset.c
index 26530c2769..3eb34f38ae 100644
--- a/src/core/dset.c
+++ b/src/core/dset.c
@@ -85,8 +85,8 @@ str _ksr_contact_salias = str_init(";alias=");
int init_dst_set(void)
{
if(sr_dst_max_branches<=0 || sr_dst_max_branches>=MAX_BRANCHES_LIMIT) {
- LM_ERR("invalid value for max branches parameter: %u\n",
- sr_dst_max_branches);
+ LM_ERR("invalid value for max branches parameter: %u, maximum value: %u\n",
+ sr_dst_max_branches, MAX_BRANCHES_LIMIT);
return -1;
}
/* sr_dst_max_branches - 1 : because of the default branch for r-uri, #0 in tm */