From ec14445b1cf79d5750e757a3eeaf42117dd8465a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 28 May 2012 14:55:39 +1000 Subject: lib/param: Add .flags to max/min protocol to match s3 This reduces the difference in the parameter tables. Andrew Bartlett --- lib/param/loadparm.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/param/loadparm.c') 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", -- cgit