소스 검색

debugging device script

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);
                 }