Skip to content

Commit

Permalink
Ignore empty bind option
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Oct 8, 2020
1 parent ac57c4d commit 9d63614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Accessory.ts
Expand Up @@ -1945,7 +1945,7 @@ export class Accessory extends EventEmitter {
} else {
serverAddress = "::"; // the interface could have both ipv4 and ipv6 addresses
}
} else {
} else if (entries.size > 1) {
let bindUnspecifiedIpv6 = false; // we bind on "::" if there are interface names, or we detect ipv6 addresses

for (const entry of entries) {
Expand Down

0 comments on commit 9d63614

Please sign in to comment.