Skip to content

Commit

Permalink
chore: fix comment to be alinged with constant (#166)
Browse files Browse the repository at this point in the history
`AUDIT_USER_AUTH` is 1100, fix the comment so it's not confusing.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo authored Nov 4, 2024
1 parent ee638f2 commit 6632265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func receive(r *libaudit.AuditClient) error {
return fmt.Errorf("receive failed: %w", err)
}

// Messages from 1300-2999 are valid audit messages.
// Messages from 1100-2999 are valid audit messages.
if rawEvent.Type < auparse.AUDIT_USER_AUTH ||
rawEvent.Type > auparse.AUDIT_LAST_USER_MSG2 {
continue
Expand Down

0 comments on commit 6632265

Please sign in to comment.