Revision 9a1f5816 loop.c

View differences:

loop.c
112 112
{
113 113
		if (loop_counter % 10 == 0)
114 114
			topology_update();
115
//		if (loop_counter % 100 == 0)
116
//		{
117
//			fprintf(stderr,"PEERSET\n");
118
//			struct peerset *pset = get_peers();
119
//    	struct peer **peers = peerset_get_peers(pset);
120
//			int i;
121
//    	for (i = 0; i < peerset_size(pset); i++) 
122
//				fprintf(stderr,"%s\n",node_addr_tr((peers[i])->id));
123
//		}
115
		if (loop_counter % 100 == 0)
116
			peerset_print(topology_get_neighbours(),"PEERSET");
124 117
#ifndef MONL
125 118
		if (loop_counter % 100 == 0)
126 119
		{

Also available in: Unified diff