Skip to content

Commit 7bfdba0

Browse files
committed
[core] Fixed setting group type on a socket accepted w/o listener callback.
1 parent 06cfb79 commit 7bfdba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

srtcore/core.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -3236,6 +3236,7 @@ SRTSOCKET srt::CUDT::makeMePeerOf(SRTSOCKET peergroup, SRT_GROUP_TYPE gtp, uint3
32363236

32373237
s->m_GroupMemberData = gp->add(groups::prepareSocketData(s));
32383238
s->m_GroupOf = gp;
3239+
m_HSGroupType = gtp;
32393240

32403241
// Record the remote address in the group data.
32413242

0 commit comments

Comments
 (0)