25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
|
diff -Nru rpcbind-0.2.1.orig/src/rpcbind.c rpcbind-0.2.1/src/rpcbind.c
|
||
|
--- rpcbind-0.2.1.orig/src/rpcbind.c 2014-05-10 10:49:15.907412342 +0000
|
||
|
+++ rpcbind-0.2.1/src/rpcbind.c 2014-05-10 10:50:50.537551178 +0000
|
||
|
@@ -117,7 +117,7 @@
|
||
|
char *udp_uaddr; /* Universal UDP address */
|
||
|
char *tcp_uaddr; /* Universal TCP address */
|
||
|
#endif
|
||
|
-static char servname[] = "rpcbind";
|
||
|
+static char servname[] = "sunrpc";
|
||
|
static char superuser[] = "superuser";
|
||
|
|
||
|
int main __P((int, char *[]));
|
||
|
diff -Nru rpcbind-0.2.1.orig/src/rpcinfo.c rpcbind-0.2.1/src/rpcinfo.c
|
||
|
--- rpcbind-0.2.1.orig/src/rpcinfo.c 2013-08-19 14:49:34.000000000 +0000
|
||
|
+++ rpcbind-0.2.1/src/rpcinfo.c 2014-05-10 10:51:05.958410935 +0000
|
||
|
@@ -632,7 +632,7 @@
|
||
|
{
|
||
|
memset (&hints, 0, sizeof hints);
|
||
|
hints.ai_family = AF_INET;
|
||
|
- if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 &&
|
||
|
+ if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 &&
|
||
|
(error = getaddrinfo (host, "portmapper", &hints, &res)) != 0)
|
||
|
{
|
||
|
fprintf (stderr, "rpcinfo: %s: %s\n",
|