summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index 55818e28fe..638b2e1c55 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/network.h"
#include "librpc/gen_ndr/ndr_epmapper.h"
/*
@@ -385,9 +386,9 @@ const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *flo
}
{
- struct in_addr in;
+ struct ipv4_addr in;
in.s_addr = htonl(floor->rhs.ip.address);
- return talloc_strdup(mem_ctx, inet_ntoa(in));
+ return talloc_strdup(mem_ctx, sys_inet_ntoa(in));
}
case EPM_PROTOCOL_NCACN: