Skip to content

Commit 7a4e77d

Browse files
Fearyncessjiegec
authored andcommitted
rpcbind: change default servname to sunrpc
1 parent 4c457e1 commit 7a4e77d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 9d4c1c496b40c06a9bfd2a1006337137d10eec07 Mon Sep 17 00:00:00 2001
2+
From: "Lain \"Fearyncess\" Yang" <[email protected]>
3+
Date: Fri, 6 Dec 2024 11:04:30 +0800
4+
Subject: [PATCH] Change `servname` to sunrpc, following IANA ports assignation
5+
table
6+
7+
---
8+
src/rpcbind.c | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/src/rpcbind.c b/src/rpcbind.c
12+
index ecebe97..a4e07a4 100644
13+
--- a/src/rpcbind.c
14+
+++ b/src/rpcbind.c
15+
@@ -132,7 +132,7 @@ char *tcptrans; /* Name of TCP transport */
16+
char *udp_uaddr; /* Universal UDP address */
17+
char *tcp_uaddr; /* Universal TCP address */
18+
#endif
19+
-static char servname[] = "rpcbind";
20+
+static char servname[] = "sunrpc";
21+
static char superuser[] = "superuser";
22+
23+
int main(int, char *[]);
24+
--
25+
2.47.1
26+

0 commit comments

Comments
 (0)