diff options
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve.c b/src/resolve.c index a0a9312..642fd67 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -78,6 +78,7 @@ static void* resolve_peer(void *varg) { if (!error) { pr_verbose(arg->ctx, "resolved host `%s' successfully", arg->hostname); memcpy(&ret.addr, res->ai_addr, res->ai_addrlen); + fastd_peer_address_simplify(&ret.addr); } else { ret.addr.sa.sa_family = AF_UNSPEC; |