Improve logging

This commit is contained in:
Daniel
2021-09-17 22:03:22 +02:00
parent a54b095c95
commit acbb3840b4
2 changed files with 2 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ func (ipHelper *IPHelper) getTable(ipVersion, protocol uint8) (connections []*so
case winErrInsufficientBuffer:
if i >= maxTries {
return nil, nil, fmt.Errorf(
"insufficient buffer error (tried %d times): %s bytes required - [NT 0x%X] %s",
"insufficient buffer error (tried %d times): %d bytes required - [NT 0x%X] %s",
i, bufSize, r1, err,
)
}