summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcinfo
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-12-16 22:24:26 +0000
committermbr <mbr@FreeBSD.org>2002-12-16 22:24:26 +0000
commitd975ae88c1d27ae949bace4ebe9916bc7be8afbf (patch)
tree1c9982dd57f64d9d27d246e74bbbce9267211200 /usr.bin/rpcinfo
parent08b76459f3f8f388a66abdc41491604856d7b9ef (diff)
downloadFreeBSD-src-d975ae88c1d27ae949bace4ebe9916bc7be8afbf.zip
FreeBSD-src-d975ae88c1d27ae949bace4ebe9916bc7be8afbf.tar.gz
Change the name for the local unix-socket based protocol
from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: imp (UPDATING) Requested by: iedowse, lukem@netbsd.org
Diffstat (limited to 'usr.bin/rpcinfo')
-rw-r--r--usr.bin/rpcinfo/rpcinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c
index bbe6a17..b8f6c1c 100644
--- a/usr.bin/rpcinfo/rpcinfo.c
+++ b/usr.bin/rpcinfo/rpcinfo.c
@@ -545,7 +545,7 @@ pmapdump(int argc, char **argv)
else if (head->pml_map.pm_prot == IPPROTO_TCP)
printf("%6s", "tcp");
else if (head->pml_map.pm_prot == IPPROTO_ST)
- printf("%6s", "unix");
+ printf("%6s", "local");
else
printf("%6ld", head->pml_map.pm_prot);
printf("%7ld", head->pml_map.pm_port);
OpenPOWER on IntegriCloud