Skip to content

Commit

Permalink
Add missing FARID
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Dec 3, 2024
1 parent 8a10083 commit b8b7033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/app/pfcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ func (p *PFCPServer) CreateSession(ue netip.Addr, uplinkTeid uint32, downlinkTei
ie.NewUEIPAddress(0x02, ue.String(), "", 0, 0), // ipv4: 0x02
),
ie.NewOuterHeaderRemoval(0x00, 0), // remove gtp-u/udp/ipv4: 0x00
ie.NewFARID(1),
),
// downlink
ie.NewCreatePDR(ie.NewPDRID(2), ie.NewPrecedence(255),
ie.NewPDI(ie.NewSourceInterface(ie.SrcInterfaceCore),
ie.NewNetworkInstance(slice),
ie.NewUEIPAddress(0x02, ue.String(), "", 0, 0), // ipv4: 0x02
),
ie.NewFARID(2),
),
}
farIes := []*ie.IE{
Expand Down

0 comments on commit b8b7033

Please sign in to comment.