diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 20:39:02 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-16 21:39:43 +0300 |
| commit | 81f365e99636104ff81151370048a51e8ae8027a (patch) | |
| tree | 0bd2781ad73fdc982abdcb70f9f44c551ac76bcf /pkg/messages/types/svcServerInfo.go | |
| parent | update CI workflow for go 1.21.0 (diff) | |
| download | sdp.go-81f365e99636104ff81151370048a51e8ae8027a.tar.gz sdp.go-81f365e99636104ff81151370048a51e8ae8027a.tar.bz2 sdp.go-81f365e99636104ff81151370048a51e8ae8027a.zip | |
feat: parsing sar custom data (#4)
Diffstat (limited to 'pkg/messages/types/svcServerInfo.go')
| -rw-r--r-- | pkg/messages/types/svcServerInfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/messages/types/svcServerInfo.go b/pkg/messages/types/svcServerInfo.go index b8bb308..c699eca 100644 --- a/pkg/messages/types/svcServerInfo.go +++ b/pkg/messages/types/svcServerInfo.go | |||
| @@ -21,7 +21,7 @@ type SvcServerInfo struct { | |||
| 21 | HostName string | 21 | HostName string |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | func ParseSvcServerInfo(reader *bitreader.ReaderType) SvcServerInfo { | 24 | func ParseSvcServerInfo(reader *bitreader.Reader) SvcServerInfo { |
| 25 | return SvcServerInfo{ | 25 | return SvcServerInfo{ |
| 26 | Protocol: int16(reader.TryReadBits(16)), | 26 | Protocol: int16(reader.TryReadBits(16)), |
| 27 | ServerCount: int32(reader.TryReadBits(32)), | 27 | ServerCount: int32(reader.TryReadBits(32)), |