mount.cifs: add support for sending IPv6 scope ID to kernel
authorJeff Layton <jlayton@redhat.com>
Thu, 25 Jun 2009 11:27:25 +0000 (07:27 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 25 Jun 2009 11:27:25 +0000 (07:27 -0400)
commit2032a1914d72e4de89280e179c782566cafc163a
tree49e27cc5c6523d7ad63a182746a8d3177563386c
parent313a2bfa527796f6512b2589a8b567c86436cf12
mount.cifs: add support for sending IPv6 scope ID to kernel

When getaddrinfo returns an IPv6 address with a non-zero scope_id, send
that to the kernel appended to the address with a '%' delimiter. This
allows people to mount servers via their link-local IPv6 addresses
(given a kernel that understands this address format, of course).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
client/mount.cifs.c