Skip to content

Commit 5adb2b9

Browse files
committed
fix: we now supply the link-local postfix on every ipv6 socket host
1 parent 823a6d4 commit 5adb2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MDNS.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class MDNS {
343343
const linkLocalInterfaceIndex =
344344
platform !== 'win32' ? networkInterfaceName : scopeid;
345345
const linkLocalSocketHost =
346-
udpType === 'udp6' && socketHost.startsWith('fe80')
346+
udpType === 'udp6'
347347
? ((socketHost + '%' + linkLocalInterfaceIndex) as Host)
348348
: socketHost;
349349

0 commit comments

Comments
 (0)