X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fsamba-autobuild%2F.git;a=blobdiff_plain;f=source3%2Fclient%2Fmount.cifs.c;h=eb45ae5b4a038ed2ff76a4bce6fd09971e50c1b6;hp=5ed0f27ab1e66e991812aa67cf83f594042100df;hb=e5a951325a6cac8567af3a66de6d2df577508ae4;hpb=57482469b32645250e92a7ffd003aeeb4a42235e diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index 5ed0f27ab1e..eb45ae5b4a0 100755 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -426,7 +426,7 @@ static int parse_options(char ** optionsp, int * filesys_flags) } else if (strncmp(data, "ip", 2) == 0) { if (!value || !*value) { printf("target ip address argument missing"); - } else if (strnlen(value, INET6_ADDRSTRLEN) < INET6_ADDRSTRLEN) { + } else if (strnlen(value, 35) < 35) { if(verboseflag) printf("ip address %s override specified\n",value); got_ip = 1;