ipv4.js
function startCheckingArpTable() {
    setInterval(()=>{
        chkArpTable();
        for (const macinfo of Object.values(macs)) {
            pingNet(macinfo.net, macinfo.ip);
        }
    }, CHECK_ARP_TABLE_AND_PING_INTERVAL);
    // Initial check
    chkArpTable();
}
function startCheckingArpTable() {
    setInterval(()=>{
        chkArpTable();
        for (const macinfo of Object.values(macs)) {
            pingNet(macinfo.net, macinfo.ip);
        }
    }, CHECK_ARP_TABLE_AND_PING_INTERVAL);
    // Initial check
    chkArpTable();
}
function startCheckingArpTable ( ) { setInterval ( ( ) => { chkArpTable ( ) ; for ( const macinfo of Object . values ( macs ) ) { pingNet ( macinfo . net , macinfo . ip ) ; } } , CHECK_ARP_TABLE_AND_PING_INTERVAL ) ; // Initial check chkArpTable ( ) ; }
Start checking the arp table
Start checking the arp table