summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-27 03:50:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:49 -0500
commitd3da369f91359f90c2b1d4f66e24615ef07e6bed (patch)
tree504dd72f73f8c848153feda288ec89de83c210f1 /source4/librpc/rpc/dcerpc_util.c
parent1f6fd130a35e4068ac7caa164b89516319c3d276 (diff)
downloadsamba-d3da369f91359f90c2b1d4f66e24615ef07e6bed.tar.gz
samba-d3da369f91359f90c2b1d4f66e24615ef07e6bed.tar.bz2
samba-d3da369f91359f90c2b1d4f66e24615ef07e6bed.zip
r3280: fixed byte order of rhs IP
(This used to be commit 29fab12d0b1649046ab2abb08b51f9845c8f8116)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index 8fd99eef04..fc09382430 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;
}