summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auth/addr/src/addr.c6
-rw-r--r--xlators/protocol/client/src/client-protocol.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/auth/addr/src/addr.c b/auth/addr/src/addr.c
index 5c293be4c..3bd893d6e 100644
--- a/auth/addr/src/addr.c
+++ b/auth/addr/src/addr.c
@@ -30,7 +30,7 @@
#include "dict.h"
#define ADDR_DELIMITER " ,"
-#define PRIVILAGED_PORT_CIELING 1024
+#define PRIVILEGED_PORT_CEILING 1024
#ifndef AF_INET_SDP
#define AF_INET_SDP 27
@@ -111,9 +111,9 @@ gf_auth (dict_t *input_params, dict_t *config_params)
}
peer_port = atoi (service);
- if (peer_port >= PRIVILAGED_PORT_CIELING) {
+ if (peer_port >= PRIVILEGED_PORT_CEILING) {
gf_log ("auth/addr", GF_LOG_ERROR,
- "client is bound to port %d which is not privilaged",
+ "client is bound to port %d which is not privileged",
peer_port);
return AUTH_DONT_CARE;
}
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 24769e8e4..86107f9bc 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -32,7 +32,7 @@
#include "byte-order.h"
#define CLIENT_PROTO_FORGET_LIMIT 128
-#define CLIENT_PORT_CIELING 1023
+#define CLIENT_PORT_CEILING 1023
#define GF_CLIENT_INODE_SELF 0
#define GF_CLIENT_INODE_PARENT 1