summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/epmapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 1aff06007f..c2450c6fbf 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -64,7 +64,7 @@ static void display_tower(TALLOC_CTX *mem_ctx, struct epm_towers *twr)
printf(" IP:");
{
struct in_addr in;
- in.s_addr = rhs->ip.address;
+ in.s_addr = htonl(rhs->ip.address);
printf("%s", inet_ntoa(in));
}
break;