cecylia пре 9 година
родитељ
комит
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);
                 }