/* Details of "mobile peer" semantics:
- | Note: this comment is wishful thinking right now. It will be
- | implemented in subsequent commits.
-
- We use the same data structure for the different configurations,
but manage it with different algorithms.
}
static void site_resolve_callback(void *sst, const struct comm_addr *addrs,
- int naddrs)
+ int naddrs, const char *address,
+ const char *failwhy)
{
struct site *st=sst;
slog(st,LOG_STATE,"resolution of %s completed, %d addrs, eg: %s",
st->address, naddrs, comm_addr_to_string(&addrs[0]));;
} else {
- slog(st,LOG_ERROR,"resolution of %s failed",st->address);
+ slog(st,LOG_ERROR,"resolution of %s failed: %s",st->address,failwhy);
}
switch (st->state) {