From da5f9861ea3bae59c8eead26d38334721caa9f0a Mon Sep 17 00:00:00 2001 From: Olaf Kirch Date: Tue, 30 Sep 2008 15:05:20 -0400 Subject: [PATCH] Kill map_ipv4_to_ipv6 After the change to svc_vc.c performed in the previous patch, this function is no longer needed. Signed-off-by: Olaf Kirch Signed-off-by: Steve Dickson --- src/svc_vc.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/src/svc_vc.c b/src/svc_vc.c index c62343b..0d532a0 100644 --- a/src/svc_vc.c +++ b/src/svc_vc.c @@ -103,19 +103,6 @@ struct cf_conn { /* kept in xprt->xp_p1 for actual connection */ struct timeval last_recv_time; }; -static void -map_ipv4_to_ipv6(sin, sin6) - struct sockaddr_in *sin; - struct sockaddr_in6 *sin6; -{ - sin6->sin6_family = AF_INET6; - sin6->sin6_port = sin->sin_port; - sin6->sin6_addr.s6_addr32[0] = 0; - sin6->sin6_addr.s6_addr32[1] = 0; - sin6->sin6_addr.s6_addr32[2] = htonl(0xffff); - sin6->sin6_addr.s6_addr32[3] = *(uint32_t *)&sin->sin_addr; -} - /* * This is used to set xprt->xp_raddr in a way legacy * apps can deal with -- 1.5.6