linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Libtirpc Devel List <libtirpc-devel@lists.sourceforge.net>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled
Date: Tue, 26 Jul 2011 08:29:06 -0400	[thread overview]
Message-ID: <1311683346-16881-1-git-send-email-steved@redhat.com> (raw)

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


             reply	other threads:[~2011-07-26 13:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 12:29 Steve Dickson [this message]
2011-07-26 14:50 ` [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311683346-16881-1-git-send-email-steved@redhat.com \
    --to=steved@redhat.com \
    --cc=libtirpc-devel@lists.sourceforge.net \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).