linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled
@ 2011-07-26 12:29 Steve Dickson
  2011-07-26 14:50 ` [Libtirpc-devel] " Chuck Lever
  0 siblings, 1 reply; 17+ messages in thread
From: Steve Dickson @ 2011-07-26 12:29 UTC (permalink / raw)
  To: Libtirpc Devel List; +Cc: Linux NFS Mailing List

From: Ian Kent <raven@themaw.net>

The IPv6 client functions clntudp6_bufcreate(), clntudp6_create and
clnttcp6_create and the server functions svcudp6_bufcreate(),
svctcp6_create() and svcudp6_create() are not included in the library
whe libtirpc is built.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 src/rpc_soc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rpc_soc.c b/src/rpc_soc.c
index c678429..584ac71 100644
--- a/src/rpc_soc.c
+++ b/src/rpc_soc.c
@@ -236,7 +236,7 @@ clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz)
 
 /* IPv6 version of clnt*_*create */
 
-#ifdef INET6_NOT_USED
+#ifdef INET6
 
 CLIENT *
 clntudp6_bufcreate(raddr, prog, vers, wait, sockp, sendsz, recvsz)
@@ -392,7 +392,7 @@ svcraw_create()
 
 
 /* IPV6 version */
-#ifdef INET6_NOT_USED
+#ifdef INET6
 SVCXPRT *
 svcudp6_bufcreate(fd, sendsz, recvsz)
 	int fd;
-- 
1.7.6


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-07-28 14:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 12:29 [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled Steve Dickson
2011-07-26 14:50 ` [Libtirpc-devel] " Chuck Lever
2011-07-26 21:13   ` Steve Dickson
2011-07-27  0:57     ` Ian Kent
2011-07-27  1:23       ` Ian Kent
2011-07-27  2:02         ` Ian Kent
2011-07-27  2:10           ` Chuck Lever
2011-07-27  2:09         ` Chuck Lever
2011-07-27  2:40           ` Ian Kent
2011-07-27  3:13             ` Ian Kent
2011-07-27  3:30             ` Chuck Lever
2011-07-27  3:39               ` Ian Kent
2011-07-27  6:37                 ` Ian Kent
2011-07-28  2:26               ` Ian Kent
2011-07-28 11:20                 ` Chuck Lever
2011-07-28 14:33                   ` Ian Kent
2011-07-28 14:45                     ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).