summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.c24
1 files changed, 24 insertions, 0 deletions
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
@@ -606,6 +606,22 @@ static struct parm_struct parm_table[] = {
.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,
.p_class = P_GLOBAL,
@@ -614,6 +630,14 @@ static struct parm_struct parm_table[] = {
.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,
.p_class = P_GLOBAL,