diff options
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/LogBase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs index 99c0128..c226fcb 100644 --- a/OpenSim/Framework/Console/LogBase.cs +++ b/OpenSim/Framework/Console/LogBase.cs | |||
@@ -345,15 +345,15 @@ namespace OpenSim.Framework.Console | |||
345 | return address; | 345 | return address; |
346 | } | 346 | } |
347 | 347 | ||
348 | public int CmdPromptIPPort(string prompt, string defaultvalue) | 348 | public uint CmdPromptIPPort(string prompt, string defaultvalue) |
349 | { | 349 | { |
350 | int port; | 350 | uint port; |
351 | string portStr; | 351 | string portStr; |
352 | 352 | ||
353 | while (true) | 353 | while (true) |
354 | { | 354 | { |
355 | portStr = MainLog.Instance.CmdPrompt(prompt, defaultvalue); | 355 | portStr = MainLog.Instance.CmdPrompt(prompt, defaultvalue); |
356 | if (int.TryParse(portStr, out port)) | 356 | if (uint.TryParse(portStr, out port)) |
357 | { | 357 | { |
358 | if (port >= IPEndPoint.MinPort && port <= IPEndPoint.MaxPort) | 358 | if (port >= IPEndPoint.MinPort && port <= IPEndPoint.MaxPort) |
359 | { | 359 | { |