summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/nmblookup.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 63ca156449..d26d199695 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/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,