From: Andrew Bartlett Date: Mon, 28 May 2012 04:55:39 +0000 (+1000) Subject: lib/param: Add .flags to max/min protocol to match s3 X-Git-Tag: samba-4.0.0beta1~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec14445b1cf79d5750e757a3eeaf42117dd8465a;p=thirdparty%2Fsamba.git lib/param: Add .flags to max/min protocol to match s3 This reduces the difference in the parameter tables. Andrew Bartlett --- diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 8120ae40f00..a938738403a 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -622,7 +622,8 @@ static struct parm_struct parm_table[] = { .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_maxprotocol), .special = NULL, - .enum_list = enum_protocol + .enum_list = enum_protocol, + .flags = FLAG_ADVANCED, }, { .label = "max protocol", @@ -630,7 +631,8 @@ static struct parm_struct parm_table[] = { .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_maxprotocol), .special = NULL, - .enum_list = enum_protocol + .enum_list = enum_protocol, + .flags = FLAG_ADVANCED, }, { .label = "protocol", @@ -647,7 +649,8 @@ static struct parm_struct parm_table[] = { .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_minprotocol), .special = NULL, - .enum_list = enum_protocol + .enum_list = enum_protocol, + .flags = FLAG_ADVANCED, }, { .label = "min protocol", @@ -655,7 +658,8 @@ static struct parm_struct parm_table[] = { .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_minprotocol), .special = NULL, - .enum_list = enum_protocol + .enum_list = enum_protocol, + .flags = FLAG_ADVANCED, }, { .label = "client max protocol",