Skip to content

Commit

Permalink
fix: modify default flow direction to bidirection
Browse files Browse the repository at this point in the history
  • Loading branch information
leowu0407 committed Jan 22, 2025
1 parent 52bb81e commit c2642d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/pcc_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func CreateDefaultPccRules(id int32) *models.PccRule {
flowInfo := []models.FlowInformation{
{
FlowDescription: "permit out ip from any to assigned",
FlowDirection: models.FlowDirection_DOWNLINK,
FlowDirection: models.FlowDirectionRm_BIDIRECTIONAL,

Check failure on line 28 in internal/util/pcc_rule.go

View workflow job for this annotation

GitHub Actions / build (1.21)

undefined: models.FlowDirectionRm_BIDIRECTIONAL

Check failure on line 28 in internal/util/pcc_rule.go

View workflow job for this annotation

GitHub Actions / lint (1.21)

undefined: models.FlowDirectionRm_BIDIRECTIONAL) (typecheck)

Check failure on line 28 in internal/util/pcc_rule.go

View workflow job for this annotation

GitHub Actions / lint (1.21)

undefined: models.FlowDirectionRm_BIDIRECTIONAL) (typecheck)

Check failure on line 28 in internal/util/pcc_rule.go

View workflow job for this annotation

GitHub Actions / lint (1.21)

undefined: models.FlowDirectionRm_BIDIRECTIONAL) (typecheck)

Check failure on line 28 in internal/util/pcc_rule.go

View workflow job for this annotation

GitHub Actions / lint (1.21)

undefined: models.FlowDirectionRm_BIDIRECTIONAL (typecheck)
PacketFilterUsage: true,
PackFiltId: "PackFiltId-0",
},
Expand Down

0 comments on commit c2642d4

Please sign in to comment.