about summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index c24dfe8116..04c4ac7a38 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -235,7 +235,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
 			goto bad;
 		}
 		s3 = accept(s2, (struct sockaddr *)&from, &len);
-		switch (from.__ss_family) {
+		switch (from.ss_family) {
 		case AF_INET:
 			rport = ntohs(((struct sockaddr_in *)&from)->sin_port);
 			break;
@@ -335,7 +335,7 @@ rresvport_af(alport, family)
 #ifdef SALEN
 	ss.__ss_len = len;
 #endif
-	ss.__ss_family = family;
+	ss.ss_family = family;
 
 	for (;;) {
 		*sport = htons((uint16_t) *alport);