diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Framework/NetworkUtil.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Framework/NetworkUtil.cs')
-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 | ||