summaryrefslogtreecommitdiff
path: root/source3/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
commit08387abd7d6f581dd1954fe05b7b28a1fa71bcd8 (patch)
tree7ebdbf0b503914d07af27e19e7f13d576b9bda80 /source3/web
parent3a5577e552d7723138ccd638848716659492133b (diff)
downloadsamba-08387abd7d6f581dd1954fe05b7b28a1fa71bcd8.tar.gz
samba-08387abd7d6f581dd1954fe05b7b28a1fa71bcd8.tar.bz2
samba-08387abd7d6f581dd1954fe05b7b28a1fa71bcd8.zip
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 (This used to be commit f428ee98d83a55922c991b0eeddd47891b80d918)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index 7415fbe3f1..27cc932abe 100644
--- a/source3/web/cgi.c
+++ b/source3/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");
}