Merge pull request #1186 from lucas-clemente/log-vnps

log version negotiation packets
This commit is contained in:
Marten Seemann
2018-02-21 18:03:57 +08:00
committed by GitHub
4 changed files with 6 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ func (vn VersionNumber) String() string {
if vn.isGQUIC() {
return fmt.Sprintf("gQUIC %d", vn.toGQUICVersion())
}
return fmt.Sprintf("%d", vn)
return fmt.Sprintf("%#x", uint32(vn))
}
}