cecylia 9 лет назад
Родитель
Сommit
059873ca9e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      js/devicescripts.js

+ 1 - 0
js/devicescripts.js

@@ -78,6 +78,7 @@ var deviceScripts = {
             }
             if(!found){
                 //broadcast packet to all ports except where it was received
+                console.log("Sending packet doesn "+ device.ports + " ports");
                 for(var i=0; i<device.ports; i++){
                     sendPacket(device.id, i, packet);
                 }