Skip to content

Commit

Permalink
Log: Add "from" before source address
Browse files Browse the repository at this point in the history
  • Loading branch information
RPRX authored Aug 16, 2024
1 parent b612da2 commit 11b0480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/log/access.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ type AccessMessage struct {

func (m *AccessMessage) String() string {
builder := strings.Builder{}
builder.WriteString("from")
builder.WriteByte(' ')
builder.WriteString(serial.ToString(m.From))
builder.WriteByte(' ')
builder.WriteString(string(m.Status))
Expand Down

0 comments on commit 11b0480

Please sign in to comment.