summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
commita4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa (patch)
tree934da0e1e5d63d7cf7f7317464dd8e34b58a04d1 /source/client
parent64699810e2d94e8648a0a3341b1cc826d4e8bfd9 (diff)
downloadsamba-a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa.tar.gz
samba-a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa.tar.xz
samba-a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa.zip
- modified resolve_name() to take a name_type
- cleaned up resolve_name() (split into separate functions for each resolver) - if can't find local master then use #1B name - support listing of foreign workgroups in /smb/
Diffstat (limited to 'source/client')
-rw-r--r--source/client/clientutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/clientutil.c b/source/client/clientutil.c
index 8b61567485b..efa836dede5 100644
--- a/source/client/clientutil.c
+++ b/source/client/clientutil.c
@@ -928,7 +928,7 @@ BOOL cli_open_sockets(int port )
if (!have_ip)
{
- if(!resolve_name( host, &dest_ip))
+ if(!resolve_name( host, &dest_ip, 0x20))
{
DEBUG(0,("cli_open_sockets: Unknown host %s.\n",host));
return False;