about summary refs log tree commit diff
path: root/sunrpc/rpc_main.c
diff options
context:
space:
mode:
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')