This is copy&paste from reply_negprot() where this variable was used
to set the remote architecture. This isn't used anymore in the
stripped down smb2 version of this.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 4 21:46:23 UTC 2022 on sn-devel-184
bool choice_set = false;
int protocol;
const char *p;
- int protocols = 0;
int num_cliprotos;
char **cliprotos;
size_t i;
p += strlen(p) + 2;
}
- for (i=0; i<num_cliprotos; i++) {
- if (strcsequal(cliprotos[i], "SMB 2.002")) {
- protocols |= PROT_SMB_2_002;
- } else if (strcsequal(cliprotos[i], "SMB 2.???")) {
- protocols |= PROT_SMB_2_FF;
- }
- }
-
/* possibly reload - change of architecture */
reload_services(sconn, conn_snum_used, true);