PDU session establishment uses required IE for session type and QoS Rules loop correctly moves msg pointer

This commit is contained in:
Justin Garey
2025-03-18 15:19:10 +00:00
parent 11d83dd461
commit 9edf06f5ce
2 changed files with 2 additions and 2 deletions
@@ -94,7 +94,7 @@ int decode_pdu_session_establishment_accept_msg(pdu_session_establishment_accept
{
qos_rules->rule[0] = decode_qos_rule(curPtr);
rules_tot_len += get_len_qos_rule(&qos_rules->rule[0]);
curPtr += rules_tot_len;
curPtr += get_len_qos_rule(&qos_rules->rule[0]);
}
// Session-AMBR (M)
psea_msg->sess_ambr.length = *curPtr++;
+1 -1
View File
@@ -1050,7 +1050,7 @@ static void process_pdu_session_addr(pdu_session_establishment_accept_msg_t *msg
{
uint8_t *addr = msg->pdu_addr_ie.pdu_addr_oct;
switch (msg->pdu_addr_ie.pdu_type) {
switch (msg->pdu_type) {
case PDU_SESSION_TYPE_IPV4: {
char ip[20];
capture_ipv4_addr(&addr[0], ip, sizeof(ip));