chiark / gitweb /
Python IP addresses: Use modern ipaddr.py - supports IPv6
[secnet.git] / site.c
diff --git a/site.c b/site.c
index 8565a4de8132ca08da032852fed593009cf0c11b..d1cc25f79ca79558b67498c560b66be9986eeb9f 100644 (file)
--- a/site.c
+++ b/site.c
@@ -145,9 +145,6 @@ static struct flagstr log_event_table[]={
 
 /* 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.
    
@@ -1196,7 +1193,7 @@ static bool_t send_msg(struct site *st)
 }
 
 static void site_resolve_callback(void *sst, const struct comm_addr *addrs,
-                                 int naddrs)
+                                 int naddrs, const char *failwhy)
 {
     struct site *st=sst;
 
@@ -1206,7 +1203,7 @@ static void site_resolve_callback(void *sst, const struct comm_addr *addrs,
        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) {