diff options
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index aef31b5aa0..34826b0bea 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -568,7 +568,7 @@ uint16_t cli_state_max_requests(struct cli_state *cli) uint16_t cli_state_security_mode(struct cli_state *cli) { - return cli->sec_mode; + return cli->conn.smb1.server.security_mode; } int cli_state_server_time_zone(struct cli_state *cli) |