[SMF] Fix fixed-0 IPCP identifier in PCO ack

Related: SYS#6582
Related: https://github.com/open5gs/open5gs/pull/2920
This commit is contained in:
Pau Espin 2024-01-26 16:43:48 +01:00 committed by Oliver Smith
parent aaad2f710c
commit fa46ca786c
1 changed files with 1 additions and 0 deletions

View File

@ -2854,6 +2854,7 @@ int smf_pco_build(uint8_t *pco_buf, uint8_t *buffer, int length)
ogs_assert(num_of_ipcp <= OGS_PCO_MAX_NUM_OF_IPCP);
pco_ipcp[num_of_ipcp].code = 2; /* Code : Configuration Ack */
pco_ipcp[num_of_ipcp].identifier = ipcp->identifier; /* ID: Needs to match request */
out_len = 4;
/* Primary DNS Server IP Address */