diff options
Diffstat (limited to 'source3/rpc_server/epmapper')
-rw-r--r-- | source3/rpc_server/epmapper/srv_epmapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index fa64c32b10..3c12b3caa2 100644 --- a/source3/rpc_server/epmapper/srv_epmapper.c +++ b/source3/rpc_server/epmapper/srv_epmapper.c @@ -196,7 +196,8 @@ static uint32_t build_ep_list(TALLOC_CTX *mem_ctx, description->object = iface->iface->syntax_id; if (description->transport == NCACN_IP_TCP && srv_addr != NULL && - strequal(description->host, "0.0.0.0")) { + (strcmp(description->host, "0.0.0.0") == 0 || + strcmp(description->host, "::") == 0)) { description->host = srv_addr; } |