summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/fix-ipv6-mount.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-11 02:08:31 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-11 02:08:31 (GMT)
commitafa2a40b8e491d011d510521f56409aebd467685 (patch)
tree5d4462375875200514e7a7e0914a92c88814b14a /abs/extra/samba/fix-ipv6-mount.patch
parent17396fe7af33831392aff48650a151d25d628d30 (diff)
downloadlinhes_pkgbuild-afa2a40b8e491d011d510521f56409aebd467685.zip
linhes_pkgbuild-afa2a40b8e491d011d510521f56409aebd467685.tar.gz
linhes_pkgbuild-afa2a40b8e491d011d510521f56409aebd467685.tar.bz2
samba: update to 3.5.6
Diffstat (limited to 'abs/extra/samba/fix-ipv6-mount.patch')
-rw-r--r--abs/extra/samba/fix-ipv6-mount.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/samba/fix-ipv6-mount.patch b/abs/extra/samba/fix-ipv6-mount.patch
new file mode 100644
index 0000000..89bef65
--- /dev/null
+++ b/abs/extra/samba/fix-ipv6-mount.patch
@@ -0,0 +1,11 @@
+--- client/mount.cifs.c.orig 2010-03-03 13:42:02.143936727 +1000
++++ client/mount.cifs.c 2010-03-04 01:53:22.752879004 +1000
+@@ -1563,7 +1563,7 @@
+ }
+ }
+
+- if (addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) {
++ if (addr && addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) {
+ strlcat(options, "%", options_size);
+ current_len = strnlen(options, options_size);
+ optionstail = options + current_len;