diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 12:00:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 12:00:40 +0000 |
commit | 40984f6b55212c710f6a7c7b940a785b2b607985 (patch) | |
tree | 7cc4bcf05540c8b9066568a39c62675af704ccbb /source3/client/clientutil.c | |
parent | 1970c92c0a56672308314d39718f994302c95c95 (diff) | |
download | samba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.gz samba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.bz2 samba-40984f6b55212c710f6a7c7b940a785b2b607985.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/
(This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
Diffstat (limited to 'source3/client/clientutil.c')
-rw-r--r-- | source3/client/clientutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c index 8b61567485..efa836dede 100644 --- a/source3/client/clientutil.c +++ b/source3/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; |