diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 37f088dae8..daae7f449e 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -7108,7 +7108,7 @@ bool net_rpc_check(struct net_context *c, unsigned flags) status = cli_negprot(cli, PROTOCOL_NT1); if (!NT_STATUS_IS_OK(status)) goto done; - if (cli_state_protocol(cli) < PROTOCOL_NT1) + if (smbXcli_conn_protocol(cli->conn) < PROTOCOL_NT1) goto done; ret = true; |