Revision df98cd3a som/TopologyManager/ncast.c

View differences:

som/TopologyManager/ncast.c
79 79
  if (cache_add(local_cache, neighbour, metadata, metadata_size) < 0) {
80 80
    return -1;
81 81
  }
82
  return topo_query_peer(local_cache, neighbour);
82
  return ncast_query_peer(local_cache, neighbour);
83 83
}
84 84

  
85 85
int topParseData(const uint8_t *buff, int len)
......
100 100

  
101 101
    remote_cache = entries_undump(buff + sizeof(struct topo_header), len - sizeof(struct topo_header));
102 102
    if (h->type == NCAST_QUERY) {
103
      topo_reply(remote_cache, local_cache);
103
      ncast_reply(remote_cache, local_cache);
104 104
    }
105 105
    new = merge_caches(local_cache, remote_cache, cache_size, &dummy);
106 106
    cache_free(remote_cache);
......
112 112

  
113 113
  if (time_to_send()) {
114 114
    cache_update(local_cache);
115
    topo_query(local_cache);
115
    ncast_query(local_cache);
116 116
  }
117 117

  
118 118
  return 0;

Also available in: Unified diff