From d3da369f91359f90c2b1d4f66e24615ef07e6bed Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Oct 2004 03:50:52 +0000 Subject: r3280: fixed byte order of rhs IP (This used to be commit 29fab12d0b1649046ab2abb08b51f9845c8f8116) --- source4/librpc/rpc/dcerpc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 8fd99eef041..fc093824309 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -441,7 +441,7 @@ static NTSTATUS dcerpc_floor_set_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor case EPM_PROTOCOL_IP: if (strlen(data) > 0) { - floor->rhs.ip.address = interpret_addr(data); + floor->rhs.ip.address = ntohl(interpret_addr(data)); } else { floor->rhs.ip.address = 0; } -- cgit