log connection IDs without the 0x prefix

This commit is contained in:
Marten Seemann
2021-02-10 18:58:31 +08:00
parent 0b97ae5632
commit 6ece64d8a5
6 changed files with 14 additions and 14 deletions

View File

@@ -65,5 +65,5 @@ func (c ConnectionID) String() string {
if c.Len() == 0 {
return "(empty)"
}
return fmt.Sprintf("%#x", c.Bytes())
return fmt.Sprintf("%x", c.Bytes())
}