Remove debug logs
This commit is contained in:
parent
2d5c307e3d
commit
d854583528
1 changed files with 0 additions and 5 deletions
|
|
@ -11,11 +11,6 @@ function getBroadcastAddress () {
|
|||
const netmask = iface.netmask.split('.').map(Number)
|
||||
const broadcast = ip.map((octet, i) => (octet | (~netmask[i] & 255)))
|
||||
|
||||
console.log(`Active Interface: ${interfaceName}`)
|
||||
console.log(`IP Address: ${iface.address}`)
|
||||
console.log(`Netmask: ${iface.netmask}`)
|
||||
console.log(`Broadcast Address: ${broadcast.join('.')}`)
|
||||
|
||||
return broadcast.join('.') // Return the broadcast address
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue