Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rpcinfo 0 == local
details: https://anonhg.NetBSD.org/src/rev/5b079dac8521
branches: trunk
changeset: 786968:5b079dac8521
user: christos <christos%NetBSD.org@localhost>
date: Fri May 24 23:09:45 2013 +0000
description:
0 == local
diffstat:
usr.bin/rpcinfo/rpcinfo.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r d9aa500ee8dc -r 5b079dac8521 usr.bin/rpcinfo/rpcinfo.c
--- a/usr.bin/rpcinfo/rpcinfo.c Fri May 24 23:02:27 2013 +0000
+++ b/usr.bin/rpcinfo/rpcinfo.c Fri May 24 23:09:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpcinfo.c,v 1.36 2013/05/08 00:34:50 christos Exp $ */
+/* $NetBSD: rpcinfo.c,v 1.37 2013/05/24 23:09:45 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -538,6 +538,8 @@
(void)printf("%6s", "udp");
else if (head->pml_map.pm_prot == IPPROTO_TCP)
(void)printf("%6s", "tcp");
+ else if (head->pml_map.pm_prot == 0)
+ (void)printf("%6s", "local");
else
(void)printf("%6ld", head->pml_map.pm_prot);
(void)printf("%7ld", head->pml_map.pm_port);
Home |
Main Index |
Thread Index |
Old Index