Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE F-TEID fix #24

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

IE F-TEID fix #24

wants to merge 1 commit into from

Conversation

orion-belt
Copy link
Collaborator

TS 29.244 R15.05 8.2.3 -> At least one of the V4 and V6 flags shall be set to "1", and both may be set to "1" for scenarios
when the UP function is requested to allocate the F-TEID, i.e. when CHOOSE bit is set to "1",
and the IPv4 address and IPv6 address fields are not present.

@orion-belt orion-belt changed the title F TEID fix IE F-TEID fix Jun 15, 2021
@orion-belt orion-belt requested a review from lionelgo June 16, 2021 07:03
@@ -687,6 +687,9 @@ class pfcp_fteid_ie : public pfcp_ie {
if (u1.bf.v6) {
tlv.add_length(16);
}
}
if (u1.bf.ch & b.v4) {
u1.bf.v4 = b.v4;
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ipv4 and v6 address will be zeroed if not (u1.bf.ch & b.v4) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants