diff options
author | Jeff Layton <jlayton@samba.org> | 2010-10-08 15:11:57 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2010-10-08 15:11:57 -0400 |
commit | d90691a283d0f2ed928476fc96970b1ef2a28662 (patch) | |
tree | 5cd1d5d86e54aaf7acdc7fd0a1ae39b4c67e14e6 /resolve_host.h | |
parent | f2daa2a08bf8706f90e1154272c5bfe6279895cd (diff) | |
download | cifs-utils-d90691a283d0f2ed928476fc96970b1ef2a28662.tar.gz cifs-utils-d90691a283d0f2ed928476fc96970b1ef2a28662.tar.bz2 cifs-utils-d90691a283d0f2ed928476fc96970b1ef2a28662.zip |
mount.cifs: reinstate ip= as an override for address resolution
The manpage says:
ip=arg
sets the destination IP address. This option is set automatically
if the server name portion of the requested UNC name can be
resolved so rarely needs to be specified by the user.
...but recent changes have made it not work anymore as an override if
someone specifies an ip= option as part of the mount options. Reinstate
that behavior by copying the ip= option verbatim into the addrlist of
the parsed options struct and then skipping the name resolution. That
should allow the ip= option to pass unadulterated to the kernel.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'resolve_host.h')
0 files changed, 0 insertions, 0 deletions