Skip to content

Commit

Permalink
Same shit
Browse files Browse the repository at this point in the history
  • Loading branch information
128keaton committed Aug 23, 2022
1 parent 0bf2206 commit 23b2a75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tibbo-discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export class TibboDiscover {


TibboHelpers.debugPrint('info', 'Sending broadcast message', message, 'to', `${TIBBO_BROADCAST_ADDR}:${TIBBO_BROADCAST_PORT}`);
return socket.bind().then(() => {
return socket.bind({
address: networkInterface||'127.0.0.1',
}).then(() => {
this.activeSockets.push(socket);

if (!!networkInterface) {
Expand Down

0 comments on commit 23b2a75

Please sign in to comment.