diff src/alice/test/topology/aquarium/CheckMyName.java @ 139:f995396f2af7 working

remove bug
author sugi
date Tue, 18 Sep 2012 16:19:50 +0900
parents 87f1a30a8c82
children b51d3bf971e7
line wrap: on
line diff
--- a/src/alice/test/topology/aquarium/CheckMyName.java	Tue Sep 18 11:46:38 2012 +0900
+++ b/src/alice/test/topology/aquarium/CheckMyName.java	Tue Sep 18 16:19:50 2012 +0900
@@ -29,7 +29,7 @@
 		
 		MakeFrame frame =  new MakeFrame(name);
 		RoutingTable routing = new RoutingTable();
-		ods.put("local", "num", 0);
+		ods.put("local", "num", 1);
 		
 		if (type.equals("cli")){
 			System.out.println("cli"+num);
@@ -38,14 +38,14 @@
 			
 			new AddRoutingTable(routing,0);
 			ods.put("parent", "member", name);
-			new MemberNum();
+			new TakeMynum();
 				
 		}else if (type.equals("node")){
 			System.out.println("node"+num);
 			if (num != 0){
 				routing.table.add(new Routing("parent"));
 				ods.put("parent", "member", name);
-				new MemberNum();
+				new TakeMynum();
 				
 			}
 			ods.put("local", "list", routing);