From: Ian Jackson Date: Sat, 25 Oct 2014 18:20:14 +0000 (+0100) Subject: site: When reporting resolution complete, print only iaddr X-Git-Tag: proposed.ipv6-polypath-fixes.v1~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=commitdiff_plain;h=d9d101eaf54ff0c58852c8ccf37c4fcd8f8d8a35;hp=5e7a63be9a512bf979e5538e6a694d5fd66b9380 site: When reporting resolution complete, print only iaddr For any particular site, the comm (and ix) are always going to be the same. Printing only the address and port produces less clutter in the log. Signed-off-by: Ian Jackson --- diff --git a/site.c b/site.c index 756ad35..f0548f9 100644 --- a/site.c +++ b/site.c @@ -1240,7 +1240,7 @@ static void decrement_resolving_count(struct site *st, int by) st->resolving_n_results_all, naddrs); } slog(st,LOG_STATE,"resolution completed, %d addrs, eg: %s", - naddrs, comm_addr_to_string(&addrs[0]));; + naddrs, iaddr_to_string(&addrs[0].ia));; } switch (st->state) {