Skip to content

Commit

Permalink
[core] Fixed setting group type on a socket accepted w/o listener cal…
Browse files Browse the repository at this point in the history
…lback.
  • Loading branch information
maxsharabayko committed May 10, 2022
1 parent 06cfb79 commit 7bfdba0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3236,6 +3236,7 @@ SRTSOCKET srt::CUDT::makeMePeerOf(SRTSOCKET peergroup, SRT_GROUP_TYPE gtp, uint3

s->m_GroupMemberData = gp->add(groups::prepareSocketData(s));
s->m_GroupOf = gp;
m_HSGroupType = gtp;

// Record the remote address in the group data.

Expand Down

0 comments on commit 7bfdba0

Please sign in to comment.