Skip to content

Commit

Permalink
cdp: increase the amount of avps allocated when reading AVP_Vendor_Sp…
Browse files Browse the repository at this point in the history
…ecific_Application_Id

(cherry picked from commit 62f7be2)
  • Loading branch information
kristiyan-peychev-flolive authored and miconda committed May 5, 2022
1 parent 8614efb commit ddcc1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/cdp/peerstatemachine.c
Expand Up @@ -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);
Expand Down

0 comments on commit ddcc1a2

Please sign in to comment.