Skip to content

Commit

Permalink
fix maxTime log
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Dec 12, 2024
1 parent 1cffd15 commit 71c0bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flow_capture.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func runFlowCaptureOnAddr(port int, filename string) {
duration := now.Sub(startupTime)
if int(duration) > int(maxTime) {
if exit := onLimitReached(); exit {
log.Infof("Capture reached %s, exiting now...", sizestr.ToString(maxBytes))
log.Infof("Capture reached %s, exiting now...", maxTime)
return
}
}
Expand Down

0 comments on commit 71c0bcb

Please sign in to comment.