Revision da25233b

View differences:

topology-ALTO.c
394 394
{
395 395
	struct peer *p = peerset_get_peer(pset, id);
396 396
	if (!p) {
397
		fprintf(stderr,"warning: received message from unknown peer: %s!\n",node_addr(id));
397
		//fprintf(stderr,"warning: received message from unknown peer: %s!\n",node_addr(id));
398 398
		if (reg && peerset_size(pset) < NEIGHBORHOOD_TARGET_SIZE) {
399 399
	//      topoAddNeighbour(id, NULL, 0);	//@TODO: this is agressive
400 400
			add_peer(id);
topology.c
212 212
{
213 213
  struct peer *p = peerset_get_peer(pset, id);
214 214
  if (!p) {
215
    fprintf(stderr,"warning: received message from unknown peer: %s!%s\n",node_addr(id), reg ? " Adding it to pset." : "");
215
    //fprintf(stderr,"warning: received message from unknown peer: %s!%s\n",node_addr(id), reg ? " Adding it to pset." : "");
216 216
    if (reg) {
217 217
      topoAddNeighbour(id, NULL, 0);
218 218
      add_peer(id);

Also available in: Unified diff