mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-14 12:15:22 -05:00
lazy evaluation of log fields
This commit is contained in:
@@ -46,7 +46,7 @@ func IPAddress(ip []byte) Address {
|
||||
}
|
||||
return &addr
|
||||
default:
|
||||
log.Error("Invalid IP format: %v", ip)
|
||||
log.Error("Invalid IP format: ", ip)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user