summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-05-17 03:37:37 +0000
committerRichard Sharpe <sharpe@samba.org>2002-05-17 03:37:37 +0000
commit6ee4366093b24251aa52c272512b2efacb9582d8 (patch)
treebabf9b0cc7aefbb43019fefc580944a2a366d655 /source3/web
parent4f783edcf3a01572589866031fa312316a703a34 (diff)
downloadsamba-6ee4366093b24251aa52c272512b2efacb9582d8.tar.gz
samba-6ee4366093b24251aa52c272512b2efacb9582d8.tar.bz2
samba-6ee4366093b24251aa52c272512b2efacb9582d8.zip
Changes to allow head to translate NMB flags ...
(This used to be commit c986a19cde0dfa96b512eb24d873203981e68c48)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/diagnose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c
index 73c23ea2bb..c1c8807e4d 100644
--- a/source3/web/diagnose.c
+++ b/source3/web/diagnose.c
@@ -27,14 +27,14 @@
BOOL nmbd_running(void)
{
extern struct in_addr loopback_ip;
- int fd, count;
+ int fd, count, flags;
struct in_addr *ip_list;
if ((fd = open_socket_in(SOCK_DGRAM, 0, 3,
interpret_addr("127.0.0.1"), True)) != -1) {
if ((ip_list = name_query(fd, "__SAMBA__", 0,
True, True, loopback_ip,
- &count)) != NULL) {
+ &count, &flags)) != NULL) {
SAFE_FREE(ip_list);
close(fd);
return True;