summaryrefslogtreecommitdiff
path: root/source/web
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-10-03 03:31:41 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-10-03 03:31:41 +0000
commitf428ee98d83a55922c991b0eeddd47891b80d918 (patch)
treedc3df1ef7ac33609cfc487f2c6f398b8ab68a016 /source/web
parentcd41e5ab857a33e05fa231756ff15707f2f5ce23 (diff)
downloadsamba-f428ee98d83a55922c991b0eeddd47891b80d918.tar.gz
Another patch from Steve Langasek <vorlon@netexpress.net>, again from the
Debian patchset. The idea is to still allow DNS domains to be specified in 'hosts allow' and 'hosts deny' without making the admin set 'hostname lookups' in their smb.conf. His concern is about upgrades. This has been designed not to change the value of %M. Andrew Bartlett
Diffstat (limited to 'source/web')
-rw-r--r--source/web/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c
index 7415fbe3f15..27cc932abe7 100644
--- a/source/web/cgi.c
+++ b/source/web/cgi.c
@@ -636,7 +636,7 @@ return the hostname of the client
char *cgi_remote_host(void)
{
if (inetd_server) {
- return get_socket_name(1);
+ return get_socket_name(1,False);
}
return getenv("REMOTE_HOST");
}