[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Deluge/delugetools
Eraser.java, 1.2, 1.3
Jonathan Hui
jwhui at users.sourceforge.net
Thu Mar 10 07:47:01 PST 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/delugetools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15444
Modified Files:
Eraser.java
Log Message:
- Fixed a bug that caused erase to fail if the node did not have
GoldenImage installed.
Index: Eraser.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/delugetools/Eraser.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Eraser.java 20 Jan 2005 01:37:35 -0000 1.2
--- Eraser.java 10 Mar 2005 15:46:45 -0000 1.3
***************
*** 55,58 ****
--- 55,60 ----
advMsg = (DelugeAdvMsg)pingReply.clone();
+ if (advMsg.get_nodeDesc_vNum() == DelugeConsts.DELUGE_INVALID_VNUM)
+ advMsg.set_nodeDesc_imgNum((short)0);
advMsg.set_sourceAddr(pinger.getPCAddr());
advMsg.set_type(DelugeConsts.DELUGE_ADV_PC);
More information about the Tinyos-beta-commits
mailing list