summaryrefslogtreecommitdiff
path: root/source/utils/nmblookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/nmblookup.c')
-rw-r--r--source/utils/nmblookup.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/utils/nmblookup.c b/source/utils/nmblookup.c
index 63ca156449f..d26d1996957 100644
--- a/source/utils/nmblookup.c
+++ b/source/utils/nmblookup.c
@@ -42,15 +42,6 @@ int RootPort = 0;
**************************************************************************/
static BOOL open_sockets(void)
{
- struct hostent *hp;
-
- /* get host info */
- if ((hp = Get_Hostbyname(myhostname)) == 0)
- {
- DEBUG(0,( "Get_Hostbyname: Unknown host. %s\n",myhostname));
- return False;
- }
-
ServerFD = open_socket_in( SOCK_DGRAM,
(RootPort ? 137 :0),
3,