summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index b0b498f1fe..4a8e3ed451 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -46,7 +46,6 @@ extern char *optarg;
extern int optind;
fstring host, workgroup, share, password, username, myname;
-static int max_protocol = PROTOCOL_NT1;
static const char *sockops="TCP_NODELAY";
int torture_nprocs=1;
static int port_to_use=0;
@@ -9759,7 +9758,7 @@ static void usage(void)
fstrcpy(workgroup,optarg);
break;
case 'm':
- max_protocol = interpret_protocol(optarg, max_protocol);
+ lp_set_cmdline("client max protocol", optarg);
break;
case 'N':
torture_nprocs = atoi(optarg);