diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-28 14:55:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-30 04:15:11 +0200 |
commit | ec14445b1cf79d5750e757a3eeaf42117dd8465a (patch) | |
tree | e7463a2c0999154c6079a9e86fbeaf25d1d512f5 | |
parent | 073a3705f23ca46092caec310d44394dd8d38b3b (diff) | |
download | samba-ec14445b1cf79d5750e757a3eeaf42117dd8465a.tar.gz samba-ec14445b1cf79d5750e757a3eeaf42117dd8465a.tar.bz2 samba-ec14445b1cf79d5750e757a3eeaf42117dd8465a.zip |
lib/param: Add .flags to max/min protocol to match s3
This reduces the difference in the parameter tables.
Andrew Bartlett
-rw-r--r-- | lib/param/loadparm.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 8120ae40f0..a938738403 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", |