aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_svcout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc_svcout.c')
-rw-r--r--sunrpc/rpc_svcout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/rpc_svcout.c b/sunrpc/rpc_svcout.c
index aad9412..5326c37 100644
--- a/sunrpc/rpc_svcout.c
+++ b/sunrpc/rpc_svcout.c
@@ -1056,7 +1056,7 @@ write_inetd_register (const char *transp)
sp = "\t";
else
sp = "";
- if (streq (transp, "udp"))
+ if (streq (transp, "udp") || streq (transp, "udp6"))
isudp = 1;
else
isudp = 0;