Skip to content

Commit

Permalink
fix wrong socket bindings close #7
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiy-0x62 committed Jan 16, 2025
1 parent 4e48d00 commit 7ac0681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dds/participant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ impl DomainParticipantInner {
)
.expect("the max number of participant on same host on same domin is 127.");

socket_list.insert(DISCOVERY_UNI_TOKEN, discovery_multi);
socket_list.insert(DISCOVERY_MULTI_TOKEN, discovery_uni);
socket_list.insert(DISCOVERY_UNI_TOKEN, discovery_uni);
socket_list.insert(DISCOVERY_MULTI_TOKEN, discovery_multi);
socket_list.insert(USERTRAFFIC_UNI_TOKEN, usertraffic_uni);
socket_list.insert(USERTRAFFIC_MULTI_TOKEN, usertraffic_multi);

Expand Down

0 comments on commit 7ac0681

Please sign in to comment.