diff options
Diffstat (limited to 'source3/web/diagnose.c')
-rw-r--r-- | source3/web/diagnose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c index 396499bcb9e..efd6d1d0a19 100644 --- a/source3/web/diagnose.c +++ b/source3/web/diagnose.c @@ -73,7 +73,7 @@ BOOL smbd_running(void) if (!cli_initialise(&cli)) return False; - if (!cli_connect(&cli, "localhost", &loopback_ip)) { + if (!cli_connect(&cli, global_myname(), &loopback_ip)) { cli_shutdown(&cli); return False; } |