mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r3650: Allow to call spoolss-server as "localhost".
Guenther
(This used to be commit 14a0292250
)
This commit is contained in:
parent
784832d2e0
commit
92e05b34ae
@ -1747,7 +1747,12 @@ BOOL is_myname_or_ipaddr(const char *s)
|
||||
|
||||
if (is_myname(servername))
|
||||
return True;
|
||||
|
||||
|
||||
/* check for loopback */
|
||||
|
||||
if (strequal(servername, "localhost"))
|
||||
return True;
|
||||
|
||||
/* maybe it's my dns name */
|
||||
|
||||
if ( get_mydnsfullname( dnsname ) )
|
||||
|
Loading…
Reference in New Issue
Block a user