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

Update pfcpsim dep #4

Merged
merged 4 commits into from
Apr 9, 2024
Merged

Conversation

ianchen0119
Copy link

Hi @gab-arrobo

Please update the pfcpsim to the commit of omec-project/pfcpsim#74

ianchen0119@ubuntu:~/gab-upf$ MODE=native DATAPATH=bess /usr/local/go/bin/go test -timeout 30s -run ^TestUPFBasedUeIPAllocation$ github.com/omec-project/upf-epc/test/integration
ok      github.com/omec-project/upf-epc/test/integration        4.875s

The issue, you mentioned before, can be resolved by applying this patch.

Tks.

@@ -35,7 +35,8 @@ type PFCPNode struct {

// NewPFCPNode create a new PFCPNode listening on local address.
func NewPFCPNode(upf *upf) *PFCPNode {
conn, err := reuse.ListenPacket("udp", ":"+PFCPPort)
conn, err := reuse.ListenPacket("udp",
upf.n4addr+":"+PFCPPort)
Copy link
Author

Choose a reason for hiding this comment

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

If n4addr is not set, upf will listening on 0.0.0.0:8805, it causes the pfcpsim can not listening on any ip with port 8805 on the same host.

Copy link
Owner

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

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

+1

@gab-arrobo gab-arrobo merged commit d539e89 into gab-arrobo:master Apr 9, 2024
7 of 10 checks passed
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