[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[sfrench/samba-autobuild/.git] / source3 / client / mount.cifs.c
index 5ed0f27ab1e66e991812aa67cf83f594042100df..eb45ae5b4a038ed2ff76a4bce6fd09971e50c1b6 100755 (executable)
@@ -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;