We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75e9ccd + 173b8d2 commit 06ffb31Copy full SHA for 06ffb31
packet/create.go
@@ -148,7 +148,7 @@ func WithHasPayloadFlag(pkt *Packet) {
148
149
// WithHasAdaptationFieldFlag is an option function for creating a packet with an adaptation field
150
func WithHasAdaptationFieldFlag(pkt *Packet) {
151
- pkt[3] |= 0x02
+ pkt[3] |= 0x20
152
}
153
154
// WithAFPrivateDataFlag is an option function for creating a packet with a adaptation field private data flag
0 commit comments