git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a2afa
)
r3280: fixed byte order of rhs IP
author
Andrew Tridgell
<tridge@samba.org>
Wed, 27 Oct 2004 03:50:52 +0000
(
03:50
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:04:49 +0000
(13:04 -0500)
source/librpc/rpc/dcerpc_util.c
patch
|
blob
|
history
diff --git
a/source/librpc/rpc/dcerpc_util.c
b/source/librpc/rpc/dcerpc_util.c
index 8fd99eef041abb54c1f02b9f635283247cdcbc83..fc09382430953ea937816b2bc1039e3b073a1658 100644
(file)
--- a/
source/librpc/rpc/dcerpc_util.c
+++ b/
source/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;
}