From c318c94170d58aeaa34f00e06fbf960816f7d0d9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Feb 2012 14:24:30 +1100 Subject: s3-param: Align lp_{max,min}protocol with lib/param names This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett --- lib/param/loadparm.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 44a33295d5..bb59a79d0c 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -605,6 +605,22 @@ static struct parm_struct parm_table[] = { .special = NULL, .enum_list = enum_protocol }, + { + .label = "max protocol", + .type = P_ENUM, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(srv_maxprotocol), + .special = NULL, + .enum_list = enum_protocol + }, + { + .label = "protocol", + .type = P_ENUM, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(srv_maxprotocol), + .special = NULL, + .enum_list = enum_protocol + }, { .label = "server min protocol", .type = P_ENUM, @@ -613,6 +629,14 @@ static struct parm_struct parm_table[] = { .special = NULL, .enum_list = enum_protocol }, + { + .label = "min protocol", + .type = P_ENUM, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(srv_minprotocol), + .special = NULL, + .enum_list = enum_protocol + }, { .label = "client max protocol", .type = P_ENUM, -- cgit