]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: Namecache. Fix bug missed by me in previous cleanup.
authorJeremy Allison <jra@samba.org>
Thu, 16 Jul 2020 22:47:04 +0000 (15:47 -0700)
committerVolker Lendecke <vl@samba.org>
Fri, 17 Jul 2020 05:54:29 +0000 (05:54 +0000)
commit57badc4638a6f626d0a6821d0a82b27d036bdc47
tree64eff87b799470419bba3ac48e31f098e9be72cc
parentd67e9149a612044e247e7a4d78913ecf396c69fc
s3: libsmb: Namecache. Fix bug missed by me in previous cleanup.

In ipstr_list_make() we need to look at the correct array entry
to determine the ss_family for the sockaddr_storage.

Otherwise we are always storing the type of the first entry.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jul 17 05:54:31 UTC 2020 on sn-devel-184
source3/libsmb/namecache.c