Skip to content

Conversation

@brianchennn
Copy link
Contributor

Fix 2 Issues

  • use queryStrength = 2 to do case-insensitive query to MongoDB
  • Destination IP should be "assigned" rather than "any"

Copy link
Collaborator

@tim-ywliu tim-ywliu Dec 5, 2023

Choose a reason for hiding this comment

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

Add as below and replace all "any" & "assigned" with const.

const (
	Any      string = "any"
	Assigned string = "assigned"
)

}
} else {
ipFilterRuleStr = append(ipFilterRuleStr, "any")
ipFilterRuleStr = append(ipFilterRuleStr, "assigned")
Copy link
Collaborator

Choose a reason for hiding this comment

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

rollback here

@tim-ywliu tim-ywliu merged commit 308f623 into free5gc:main Dec 5, 2023
brianchennn added a commit to brianchennn/util that referenced this pull request Aug 13, 2024
* fix: RestfulAPIPutOne( ... , opt)

* fix: destination IP (any -> assigned)

* refactor: move collation into if scope

* add const Any, Assigned
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