summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-31 21:44:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:28 -0500
commitc4f115aa1b0029f716d495fa8fa3052d1a833439 (patch)
tree736b562118b7d9143afee01de37eb1a112106f74 /source4/torture
parent1545d6ecf436b4d01af429f9a024718e9b7dc026 (diff)
downloadsamba-c4f115aa1b0029f716d495fa8fa3052d1a833439.tar.gz
samba-c4f115aa1b0029f716d495fa8fa3052d1a833439.tar.bz2
samba-c4f115aa1b0029f716d495fa8fa3052d1a833439.zip
r5148: use ipv4_addr also in epmapper idl
metze (This used to be commit cbc1f172822363e1fc4495d27248464403748cae)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/epmapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 4fcd0757f0..ea1166b4ed 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -66,7 +66,7 @@ static void display_tower(TALLOC_CTX *mem_ctx, struct epm_tower *twr)
printf(" IP:");
{
struct ipv4_addr in;
- in.addr = htonl(rhs->ip.address);
+ in.addr = htonl(rhs->ip.ipaddr.addr);
printf("%s", sys_inet_ntoa(in));
}
break;
@@ -158,7 +158,7 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
twr->tower.floors[4].lhs.protocol = EPM_PROTOCOL_IP;
twr->tower.floors[4].lhs.info.lhs_data = data_blob(NULL, 0);
- twr->tower.floors[4].rhs.ip.address = 0;
+ twr->tower.floors[4].rhs.ip.ipaddr.addr = 0;
status = dcerpc_epm_Map(p, mem_ctx, &r);
if (NT_STATUS_IS_OK(status) && r.out.result == 0) {