Skip to content

Commit

Permalink
Return NetworkEventDirectionBiDirectional when direction is not known
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Dec 12, 2024
1 parent 72f9c73 commit 82a5a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/cron/pfflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (f *PfFlow) SessionKey() AggregatorSession {
func (f *PfFlow) NetworkEventDirection() NetworkEventDirection {
switch f.BiFlow {
default:
return NetworkEventDirection("")
return NetworkEventDirectionBiDirectional
case 1:
return NetworkEventDirectionInBound
case 2:
Expand Down

0 comments on commit 82a5a43

Please sign in to comment.