summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-25 21:43:03 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-26 08:38:59 -0700
commit8a15f00cd8ad19fa414d2ef63dc71147ae191d73 (patch)
treef4599b541ed7f10a305017c3ccc48736f4093e71
parent3f37921807fc84af6d9529ae18aa8575e2458fc5 (diff)
rpc: Don't warn on failure to bind to privileged port
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2582 (allow option to accept messages from insecure ports) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2582
-rw-r--r--rpc/rpc-transport/socket/src/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/name.c b/rpc/rpc-transport/socket/src/name.c
index 9cda665fec3..3bbf31010ae 100644
--- a/rpc/rpc-transport/socket/src/name.c
+++ b/rpc/rpc-transport/socket/src/name.c
@@ -440,7 +440,7 @@ client_bind (rpc_transport_t *this,
ret = af_inet_bind_to_port_lt_ceiling (sock, sockaddr,
*sockaddr_len, CLIENT_PORT_CEILING);
if (ret == -1) {
- gf_log (this->name, GF_LOG_WARNING,
+ gf_log (this->name, GF_LOG_DEBUG,
"cannot bind inet socket (%d) to port less than %d (%s)",
sock, CLIENT_PORT_CEILING, strerror (errno));
ret = 0;