aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ProxyCodec.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/ProxyCodec.cs')
-rw-r--r--OpenSim/Framework/ProxyCodec.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/ProxyCodec.cs b/OpenSim/Framework/ProxyCodec.cs
index 9121bed..e1aeeda 100644
--- a/OpenSim/Framework/ProxyCodec.cs
+++ b/OpenSim/Framework/ProxyCodec.cs
@@ -58,7 +58,7 @@ namespace OpenSim.Framework
58 numBytes = x; 58 numBytes = x;
59 } 59 }
60 60
61 public static EndPoint DecodeProxyMessage(byte[] bytes, ref int numBytes) 61 public static IPEndPoint DecodeProxyMessage(byte[] bytes, ref int numBytes)
62 { 62 {
63 // IPv4 Only 63 // IPv4 Only
64 byte[] addr = new byte[4]; 64 byte[] addr = new byte[4];
@@ -71,7 +71,7 @@ namespace OpenSim.Framework
71 ushort port = (ushort) (bytes[--numBytes] * 256); 71 ushort port = (ushort) (bytes[--numBytes] * 256);
72 port += (ushort) bytes[--numBytes]; 72 port += (ushort) bytes[--numBytes];
73 73
74 return (EndPoint) new IPEndPoint(new IPAddress(addr), (int) port); 74 return new IPEndPoint(new IPAddress(addr), (int) port);
75 } 75 }
76 } 76 }
77} 77}