From 8a15f00cd8ad19fa414d2ef63dc71147ae191d73 Mon Sep 17 00:00:00 2001 From: Pranith K Date: Fri, 25 Mar 2011 21:43:03 +0000 Subject: rpc: Don't warn on failure to bind to privileged port Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 2582 (allow option to accept messages from insecure ports) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2582 --- rpc/rpc-transport/socket/src/name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/rpc-transport/socket/src/name.c b/rpc/rpc-transport/socket/src/name.c index 9cda665fe..3bbf31010 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; -- cgit