aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_main.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-02 07:01:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-02 07:01:41 +0000
commitbe18eced55bb0d6431f1cd81df8febbc159ddc86 (patch)
tree5ca3c86709090813f200b6d2abac9e498a071de7 /sunrpc/rpc_main.c
parentca8d5a5f3dea0f541fc3c388b6cb01a2d27e9924 (diff)
downloadglibc-be18eced55bb0d6431f1cd81df8febbc159ddc86.tar
glibc-be18eced55bb0d6431f1cd81df8febbc159ddc86.tar.gz
glibc-be18eced55bb0d6431f1cd81df8febbc159ddc86.tar.bz2
glibc-be18eced55bb0d6431f1cd81df8febbc159ddc86.zip
Update.
Remove incompatible IPv6 extension of RPC. * sunrpc/Makefile: Undo changes. * sunrpc/rpc_main.c: Likewise. * sunrpc/rpc/clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/bindrsvprt6.c: Removed. * sunrpc/clnt_tcp6.c: Removed. * sunrpc/clnt_udp6.c: Removed. * sunrpc/svc_tcp6.c: Removed. * sunrpc/svc_udp6.c: Removed. * intl/libintl.h: Don't use __attribute_format_arg__ for gettext, dgettext, and dcgettetxt. * intl/locale.alias: Update japanese aliases.
Diffstat (limited to 'sunrpc/rpc_main.c')
-rw-r--r--sunrpc/rpc_main.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index ba25455be4..b780bdbc7d 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -87,7 +87,7 @@ static char *pathbuf;
static int cpp_pid;
static const char *allv[] =
{
- "rpcgen", "-s", "udp", "-s", "tcp", "-s", "udp6", "-s", "tcp6"
+ "rpcgen", "-s", "udp", "-s", "tcp"
};
static int allc = sizeof (allv) / sizeof (allv[0]);
static const char *allnv[] =
@@ -437,8 +437,6 @@ static const char *valid_ti_nettypes[] =
"udp",
"tcp",
"raw",
- "udp6",
- "tcp6",
NULL
};
@@ -447,8 +445,6 @@ static const char *valid_i_nettypes[] =
{
"udp",
"tcp",
- "udp6",
- "tcp6",
NULL
};
@@ -1306,9 +1302,7 @@ parseargs (int argc, const char *argv[], struct commandline *cmd)
if (c == 's')
{
if (!streq (argv[i], "udp") &&
- !streq (argv[i], "tcp") &&
- !streq (argv[i], "udp6") &&
- !streq (argv[i], "tcp6"))
+ !streq (argv[i], "tcp"))
return 0;
}
else if (c == 'o')