summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sockunion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c
index 8fbe3450..3750295c 100644
--- a/lib/sockunion.c
+++ b/lib/sockunion.c
@@ -271,6 +271,7 @@ sockunion_accept (int sock, union sockunion *su)
len = sizeof (union sockunion);
client_sock = accept (sock, (struct sockaddr *) su, &len);
+ sockunion_normalise_mapped (su);
return client_sock;
}