Skip to content

Commit

Permalink
Forgot to turn reuseAddress on for multicast
Browse files Browse the repository at this point in the history
  • Loading branch information
lauckhart committed Mar 8, 2024
1 parent baa9fe0 commit 38c2dce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/matter.js/src/net/UdpMulticastServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ export class UdpMulticastServer {
netInterface,
listeningPort,
membershipAddresses: [broadcastAddressIpv4],
reuseAddress: true,
}),
await network.createUdpChannel({
type: "udp6",
netInterface,
listeningPort,
membershipAddresses: [broadcastAddressIpv6],
reuseAddress: true,
}),
netInterface,
);
Expand Down Expand Up @@ -122,6 +124,7 @@ export class UdpMulticastServer {
type: iPv4 ? "udp4" : "udp6",
listeningPort: this.broadcastPort,
netInterface,
reuseAddress: true,
});
}

Expand Down

0 comments on commit 38c2dce

Please sign in to comment.