diff options
author | onefang | 2019-09-11 16:36:50 +1000 |
---|---|---|
committer | onefang | 2019-09-11 16:36:50 +1000 |
commit | 50cd1ffd32f69228e566f2b0b89f86ea0d9fe489 (patch) | |
tree | 52f2ab0c04f1a5d7d6ac5dc872981b4b156447e7 /OpenSim/Framework/NetworkUtil.cs | |
parent | Renamed branch to SledjChisl. (diff) | |
parent | Bump to release flavour, build 0. (diff) | |
download | opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.zip opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.gz opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.bz2 opensim-SC_OLD-50cd1ffd32f69228e566f2b0b89f86ea0d9fe489.tar.xz |
Merge branch 'SledjChisl'
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/NetworkUtil.cs | 4 |
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 | ||