diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-10-03 03:31:41 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-10-03 03:31:41 +0000 |
commit | f428ee98d83a55922c991b0eeddd47891b80d918 (patch) | |
tree | dc3df1ef7ac33609cfc487f2c6f398b8ab68a016 /source/web | |
parent | cd41e5ab857a33e05fa231756ff15707f2f5ce23 (diff) | |
download | samba-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.c | 2 |
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"); } |