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 and leninalive committed Oct 29, 2024
1 parent 3b32bce commit 2795685
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 2795685

Please sign in to comment.