summaryrefslogtreecommitdiff
path: root/lib/sockunion.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-11-24 22:25:16 +0000
committerPaul Jakma <paul@quagga.net>2008-11-24 22:25:16 +0000
commit84152ee6841d0d83bd46ed6f8f12cc5c08386c7f (patch)
treee832a6c1cb1f752dfd1f38fd3c4804038ec455f2 /lib/sockunion.c
parente0081f70ede76bc7a3db53eaab3e45ba657cc4d3 (diff)
[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..
Diffstat (limited to 'lib/sockunion.c')
-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;
}