aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/NetworkUtil.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 21:24:15 +1000
committeronefang2019-05-19 21:24:15 +1000
commit5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch)
treea9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Framework/NetworkUtil.cs
parentAdd a build script. (diff)
downloadopensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip
opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz
opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2
opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/NetworkUtil.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/NetworkUtil.cs b/OpenSim/Framework/NetworkUtil.cs
index 2e94b0d..93c9446 100644
--- a/OpenSim/Framework/NetworkUtil.cs
+++ b/OpenSim/Framework/NetworkUtil.cs
@@ -40,7 +40,7 @@ namespace OpenSim.Framework
40 /// Handles NAT translation in a 'manner of speaking' 40 /// Handles NAT translation in a 'manner of speaking'
41 /// Allows you to return multiple different external 41 /// Allows you to return multiple different external
42 /// hostnames depending on the requestors network 42 /// hostnames depending on the requestors network
43 /// 43 ///
44 /// This enables standard port forwarding techniques 44 /// This enables standard port forwarding techniques
45 /// to work correctly with OpenSim. 45 /// to work correctly with OpenSim.
46 /// </summary> 46 /// </summary>
@@ -145,7 +145,7 @@ namespace OpenSim.Framework
145 byte[] subnetBytes = subnet.Value.GetAddressBytes(); 145 byte[] subnetBytes = subnet.Value.GetAddressBytes();
146 byte[] localBytes = subnet.Key.GetAddressBytes(); 146 byte[] localBytes = subnet.Key.GetAddressBytes();
147 byte[] destBytes = destination.GetAddressBytes(); 147 byte[] destBytes = destination.GetAddressBytes();
148 148
149 if (subnetBytes.Length != destBytes.Length || subnetBytes.Length != localBytes.Length) 149 if (subnetBytes.Length != destBytes.Length || subnetBytes.Length != localBytes.Length)
150 return null; 150 return null;
151 151