Module: kamailio
Branch: master
Commit: 62f7be2281f5dd91a5668c4b84e52a7d7169e21f
URL:
https://github.com/kamailio/kamailio/commit/62f7be2281f5dd91a5668c4b84e52a7…
Author: Kristiyan Peychev <kristiyan.peychev(a)flolive.net>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-03T21:50:35+01:00
cdp: increase the amount of avps allocated when reading
AVP_Vendor_Specific_Application_Id
---
Modified: src/modules/cdp/peerstatemachine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/62f7be2281f5dd91a5668c4b84e52a7…
Patch:
https://github.com/kamailio/kamailio/commit/62f7be2281f5dd91a5668c4b84e52a7…
---
diff --git a/src/modules/cdp/peerstatemachine.c b/src/modules/cdp/peerstatemachine.c
index b83654bf1d..a4520d797d 100644
--- a/src/modules/cdp/peerstatemachine.c
+++ b/src/modules/cdp/peerstatemachine.c
@@ -732,7 +732,7 @@ void save_peer_applications(peer *p,AAAMessage *msg)
total_cnt += supported_vendor_id_avp_cnt;
break;
case AVP_Vendor_Specific_Application_Id:
- total_cnt+=2;/* wasteful, but let's skip decoding */
+ total_cnt+=6;/* wasteful, but let's skip decoding */
break;
}
LM_DBG("Total count of applications is %d\n", total_cnt);