Skip to content

Commit

Permalink
Ensure all INIT have a verification tag of 0 as per the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelancongen committed Jul 9, 2024
1 parent c3b3847 commit dbd061d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion association.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (a *Association) sendInit() error {
}

outbound := &packet{}
outbound.verificationTag = a.peerVerificationTag
outbound.verificationTag = 0
a.sourcePort = defaultSCTPSrcDstPort
a.destinationPort = defaultSCTPSrcDstPort
outbound.sourcePort = a.sourcePort
Expand Down

0 comments on commit dbd061d

Please sign in to comment.