Commit 5e4bb129 authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'fix_pfcp_ip_address' into 'develop'

Deactivate IPv6 UE IP PFCP IEs

See merge request oai/cn5g/oai-cn5g-smf!163
parents f3d2f3df bbac73f7
...@@ -67,9 +67,11 @@ pfcp::ue_ip_address_t smf_session_procedure::pfcp_ue_ip_address( ...@@ -67,9 +67,11 @@ pfcp::ue_ip_address_t smf_session_procedure::pfcp_ue_ip_address(
ue_ip.v4 = 1; ue_ip.v4 = 1;
ue_ip.ipv4_address = sps->ipv4_address; ue_ip.ipv4_address = sps->ipv4_address;
} }
// TODO malformed PFCP message, should be fixed in PFCP layer, but we dont
// need it for now
if (sps->ipv6) { if (sps->ipv6) {
ue_ip.v6 = 1; ue_ip.v6 = 0;
ue_ip.ipv6_address = sps->ipv6_address; // ue_ip.ipv6_address = sps->ipv6_address;
} }
return ue_ip; return ue_ip;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment