Skip to content
Commit 3eb9a889 authored by Ben Greear's avatar Ben Greear Committed by Steve French
Browse files

cifs: Allow binding to local IP address.



When using multi-homed machines, it's nice to be able to specify
the local IP to use for outbound connections.  This patch gives
cifs the ability to bind to a particular IP address.

   Usage:  mount -t cifs -o srcaddr=192.168.1.50,user=foo, ...
   Usage:  mount -t cifs -o srcaddr=2002::100:1,user=foo, ...

Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Acked-by: default avatarDr. David Holder <david.holder@erion.co.uk>
Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 2b149f11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment