Skip to content

Commit 06ffb31

Browse files
authored
Merge pull request #108 from mhedrick843/gots-coral-bugfix
Gots coral bugfix
2 parents 75e9ccd + 173b8d2 commit 06ffb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func WithHasPayloadFlag(pkt *Packet) {
148148

149149
// WithHasAdaptationFieldFlag is an option function for creating a packet with an adaptation field
150150
func WithHasAdaptationFieldFlag(pkt *Packet) {
151-
pkt[3] |= 0x02
151+
pkt[3] |= 0x20
152152
}
153153

154154
// WithAFPrivateDataFlag is an option function for creating a packet with a adaptation field private data flag

0 commit comments

Comments
 (0)