summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/epmapper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index fa0199a3c6..78721d075e 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/network.h"
#include "librpc/gen_ndr/ndr_epmapper.h"
@@ -64,9 +65,9 @@ static void display_tower(TALLOC_CTX *mem_ctx, struct epm_tower *twr)
case EPM_PROTOCOL_IP:
printf(" IP:");
{
- struct in_addr in;
+ struct ipv4_addr in;
in.s_addr = htonl(rhs->ip.address);
- printf("%s", inet_ntoa(in));
+ printf("%s", sys_inet_ntoa(in));
}
break;