[rpcbind 1/1] security: Fix typos in debug messages and comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Petr Vorel <pvorel@xxxxxxx>
---
 src/rpcbind.c  | 4 ++--
 src/security.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/rpcbind.c b/src/rpcbind.c
index 73daa1c..25d8a90 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -505,7 +505,7 @@ init_transport(struct netconfig *nconf)
 					hints.ai_flags |= AI_NUMERICHOST;
 				} else {
 					/*
-					 * Skip if we have an AF_INET6 adress.
+					 * Skip if we have an AF_INET6 address.
 					 */
 					if (inet_pton(AF_INET6,
 					    hosts[nhostsbak], host_addr) == 1)
@@ -518,7 +518,7 @@ init_transport(struct netconfig *nconf)
 					hints.ai_flags |= AI_NUMERICHOST;
 				} else {
 					/*
-					 * Skip if we have an AF_INET adress.
+					 * Skip if we have an AF_INET address.
 					 */
 					if (inet_pton(AF_INET, hosts[nhostsbak],
 					    host_addr) == 1)
diff --git a/src/security.c b/src/security.c
index 8a12019..329c53d 100644
--- a/src/security.c
+++ b/src/security.c
@@ -145,7 +145,7 @@ is_loopback(struct netbuf *nbuf)
 #ifdef RPCBIND_DEBUG
 		if (debugging)
 			  xlog(LOG_DEBUG,
-				  "Checking caller's adress (port = %d)\n",
+				  "Checking caller's address (port = %d)\n",
 				  ntohs(sin->sin_port));
 #endif
 	       	return (sin->sin_addr.s_addr == htonl(INADDR_LOOPBACK));
@@ -157,7 +157,7 @@ is_loopback(struct netbuf *nbuf)
 #ifdef RPCBIND_DEBUG
 		if (debugging)
 			  xlog(LOG_DEBUG,
-				  "Checking caller's adress (port = %d)\n",
+				  "Checking caller's address (port = %d)\n",
 				  ntohs(sin6->sin6_port));
 #endif
 		return (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr) ||
-- 
2.26.2




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux