diff options
Diffstat (limited to 'source/client/mount.cifs.c')
-rwxr-xr-x | source/client/mount.cifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index 5ed0f27ab1e..eb45ae5b4a0 100755 --- a/source/client/mount.cifs.c +++ b/source/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; |