mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r26394: dcerpc: Use target_hostname() instead of peer_name() in dcerpc_server_name()
This commit is contained in:
parent
55c60a3743
commit
c5196831d5
@ -1521,10 +1521,10 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p,
|
||||
*/
|
||||
const char *dcerpc_server_name(struct dcerpc_pipe *p)
|
||||
{
|
||||
if (!p->conn->transport.peer_name) {
|
||||
if (!p->conn->transport.target_hostname) {
|
||||
return "";
|
||||
}
|
||||
return p->conn->transport.peer_name(p->conn);
|
||||
return p->conn->transport.target_hostname(p->conn);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user