Commit 9bd741ae authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds

Add a "protocol: udp/tcp" line so that gssd can use the same protocol for

null calls that was specified in the mount options.
parent f638a1e1
......@@ -273,6 +273,8 @@ rpc_show_info(struct seq_file *m, void *v)
clnt->cl_prog, clnt->cl_vers);
seq_printf(m, "address: %u.%u.%u.%u\n",
NIPQUAD(clnt->cl_xprt->addr.sin_addr.s_addr));
seq_printf(m, "protocol: %s\n",
clnt->cl_xprt->prot == IPPROTO_UDP ? "udp" : "tcp");
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment