summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/fix-ipv6-mount.patch
diff options
context:
space:
mode:
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;