diff --git a/lib/server.ts b/lib/server.ts index 5ec96e0f..324b0e0e 100644 --- a/lib/server.ts +++ b/lib/server.ts @@ -69,7 +69,7 @@ function allAddresses (type): string[] { for (const ifname in interfaces) { if (ifname in interfaces) { interfaces[ifname]?.forEach((a) => { - if (a.family === family && macs.includes(a.mac) == false) { + if (a.family === family && !macs.includes(a.mac)) { addresses.push(a.address) macs.push(a.address) }