Browse Source

[lib] fix missing sockunion_normalise_mapped

* lib/sockunion.c: (sockunion_accept) sockunion needs to be normalised here,
  as it used to before this was moved to a dedicated function..
Paul Jakma 11 years ago
parent
commit
84152ee684
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/sockunion.c

+ 1 - 0
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;
 }