git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mount.cifs: explicitly handle non AF_INET/AF_INET6 addresses
[sfrench/samba-autobuild/.git]
/
client
/
mount.cifs.c
diff --git
a/client/mount.cifs.c
b/client/mount.cifs.c
index f53bcf16071cb611ff155ceeecc4f0974ace610b..97144a060727af804e6fad026d3b95d504373e96 100644
(file)
--- a/
client/mount.cifs.c
+++ b/
client/mount.cifs.c
@@
-1548,6
+1548,8
@@
mount_retry:
ipaddr = inet_ntop(AF_INET, &addr4->sin_addr, optionstail,
options_size - current_len);
break;
+ default:
+ ipaddr = NULL;
}
/* if the address looks bogus, try the next one */