svn commit: samba r3280 - in branches/SAMBA_4_0/source/librpc/rpc: .

tridge at samba.org tridge at samba.org
Wed Oct 27 03:50:52 GMT 2004


Author: tridge
Date: 2004-10-27 03:50:52 +0000 (Wed, 27 Oct 2004)
New Revision: 3280

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/rpc&rev=3280&nolog=1

Log:
fixed byte order of rhs IP 


Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-10-27 03:45:35 UTC (rev 3279)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-10-27 03:50:52 UTC (rev 3280)
@@ -441,7 +441,7 @@
 
 	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;
 		}



More information about the samba-cvs mailing list