summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/libsmb/clidfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index b00e7f2273..9a09d50cc0 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -43,7 +43,7 @@ static char *cmdstr = NULL;
static int io_bufsize = 64512;
static int name_type = 0x20;
-static int max_protocol = PROTOCOL_NT1;
+extern int max_protocol;
static int process_tok(pstring tok);
static int cmd_help(void);
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index e4308fdb5a..dcffdf42fe 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -37,10 +37,10 @@ static pstring password;
static BOOL use_kerberos;
static BOOL got_pass;
static int signing_state;
+int max_protocol = PROTOCOL_NT1;
static int port;
static int name_type = 0x20;
-static int max_protocol = PROTOCOL_NT1;
static BOOL have_ip;
static struct in_addr dest_ip;