Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146468
b: refs/heads/master
c: 58f7f68
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Jun 10, 2009
1 parent 9873da9 commit 3d97822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0472d0ec89bef2ea4432828c3daa1b26ef569aa
refs/heads/master: 58f7f68f228c3aba2ba4468d92e2cec35724ba2e
3 changes: 2 additions & 1 deletion trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,8 @@ cifs_parse_mount_options(char *options, const char *devname,
}
strcpy(vol->password, value);
}
} else if (strnicmp(data, "ip", 2) == 0) {
} else if (!strnicmp(data, "ip", 2) ||
!strnicmp(data, "addr", 4)) {
if (!value || !*value) {
vol->UNCip = NULL;
} else if (strnlen(value, INET6_ADDRSTRLEN) <
Expand Down

0 comments on commit 3d97822

Please sign in to comment.