]>
Commit | Line | Data |
---|---|---|
d908c4c2 PS |
1 | --- rpcbind-0.1.7/src/rpcbind.c.orig 2008-11-19 14:17:34.000000000 +0100 |
2 | +++ rpcbind-0.1.7/src/rpcbind.c 2010-01-07 13:03:37.416632894 +0100 | |
3 | @@ -114,7 +114,7 @@ | |
4 | char *udp_uaddr; /* Universal UDP address */ | |
5 | char *tcp_uaddr; /* Universal TCP address */ | |
6 | #endif | |
7 | -static char servname[] = "rpcbind"; | |
8 | +static char servname[] = "sunrpc"; | |
9 | static char superuser[] = "superuser"; | |
10 | ||
11 | int main __P((int, char *[])); | |
3af8472c KK |
12 | --- rpcbind-0.1.7/src/rpcinfo.c~ 2010-01-08 16:14:24.592156602 +0000 |
13 | +++ rpcbind-0.1.7/src/rpcinfo.c 2010-01-08 16:14:31.578838609 +0000 | |
14 | @@ -633,7 +633,7 @@ | |
15 | { | |
16 | memset (&hints, 0, sizeof hints); | |
17 | hints.ai_family = AF_INET; | |
18 | - if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 && | |
19 | + if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 && | |
20 | (error = getaddrinfo (host, "portmapper", &hints, &res)) != 0) | |
21 | { | |
22 | fprintf (stderr, "rpcinfo: %s: %s\n", |