summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-12-11 10:47:36 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:24 +0100
commit0978d0ed477f3b8dbffd2b093be468eb27761f14 (patch)
tree509116849a0b53e60d7591399357eb20dc1728bf
parent0b3de65ac68d7b59deb502e341455599030e97ca (diff)
downloadsamba-0978d0ed477f3b8dbffd2b093be468eb27761f14.tar.gz
samba-0978d0ed477f3b8dbffd2b093be468eb27761f14.tar.bz2
samba-0978d0ed477f3b8dbffd2b093be468eb27761f14.zip
r26394: dcerpc: Use target_hostname() instead of peer_name() in dcerpc_server_name()
(This used to be commit c5196831d5fc6190a54e2f684ff506bc243b8dae)
-rw-r--r--source4/librpc/rpc/dcerpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 74dc2562ed..32f93254e5 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -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);
}