diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-07-27 12:56:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-07-27 12:16:25 +0200 |
commit | dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e (patch) | |
tree | d6d3e1c86529378fe9f48578d7929a2881db58a5 /source3/libsmb | |
parent | b181a0b96b8313206923e6f5b46b0803aaf64907 (diff) | |
download | samba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.tar.gz samba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.tar.bz2 samba-dc00df2adddfe23e5ebb61f9f7c16ec7d3f2c03e.zip |
lib/param: Rename "socket address" to "nbt client socket address" to clarify role
This parameter is only used in our NBT client code and in nmbd as a
fallback when we fail to select a better interface from "interfaces"
to use directly.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index e4dda16659..b62b52bc70 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -216,7 +216,7 @@ char *saf_fetch( const char *domain ) static void set_socket_addr_v4(struct sockaddr_storage *addr) { - if (!interpret_string_addr(addr, lp_socket_address(), + if (!interpret_string_addr(addr, lp_nbt_client_socket_address(), AI_NUMERICHOST|AI_PASSIVE)) { zero_sockaddr(addr); } @@ -2071,7 +2071,7 @@ struct tevent_req *resolve_wins_send(TALLOC_CTX *mem_ctx, } /* the address we will be sending from */ - if (!interpret_string_addr(&src_ss, lp_socket_address(), + if (!interpret_string_addr(&src_ss, lp_nbt_client_socket_address(), AI_NUMERICHOST|AI_PASSIVE)) { zero_sockaddr(&src_ss); } |