Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyoshiaki committed Feb 2, 2025
1 parent e151beb commit a0c03f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ice/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export async function getGlobalIp(

export function isLinkLocalAddress(info: os.NetworkInterfaceInfo) {
return (
// (normalizeFamilyNodeV18(info.family) === 4 &&
// info.address?.startsWith("169.254.")) ||
normalizeFamilyNodeV18(info.family) === 6 &&
info.address?.startsWith("fe80::")
(normalizeFamilyNodeV18(info.family) === 4 &&
info.address?.startsWith("169.254.")) ||
(normalizeFamilyNodeV18(info.family) === 6 &&
info.address?.startsWith("fe80::"))
);
}

Expand Down

0 comments on commit a0c03f4

Please sign in to comment.