From 5d0255f73bad9edd3a620712d33228074978ad3f Mon Sep 17 00:00:00 2001 From: Pranith K Date: Sat, 26 Mar 2011 11:42:11 +0000 Subject: protocol/server: change allow_insecure option in reconfigure 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 --- xlators/protocol/server/src/server.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 650b66bf1de..bbc7a258501 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -625,6 +625,7 @@ reconfigure (xlator_t *this, dict_t *options) goto out; } + (void) rpcsvc_set_allow_insecure (rpc_conf, options); list_for_each_entry (listeners, &(rpc_conf->listeners), list) { if (listeners->trans != NULL) { if (listeners->trans->reconfigure ) @@ -878,6 +879,8 @@ struct volume_options options[] = { "conf-dir"}, .type = GF_OPTION_TYPE_PATH, }, - + { .key = {"rpc-auth-allow-insecure"}, + .type = GF_OPTION_TYPE_BOOL, + }, { .key = {NULL} }, }; -- cgit