Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
decoder: fix decoding TTL
Browse files Browse the repository at this point in the history
Fix #24
  • Loading branch information
ernado committed May 1, 2020
1 parent a7808d0 commit 53f36f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ func (d *Decoder) decodeConnectionData(m *Message) error {
if isV4 {
switch d.section {
case sectionMedia:
m.Connection.TTL, err = decodeByte(first)
d.m.Connection.TTL, err = decodeByte(first)
case sectionSession:
m.Connection.TTL, err = decodeByte(first)
}
Expand Down

0 comments on commit 53f36f7

Please sign in to comment.