2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-09-13 12:43:17 +00:00

Added Records

This commit is contained in:
2021-06-18 17:56:25 +03:00
parent ece7c7d08f
commit d6b2a27221
26 changed files with 1236 additions and 321 deletions

View File

@@ -1050,7 +1050,7 @@ namespace Esiur.Net.IIP
var host = Instance.Name.Split(':');
var address = host[0];
var port = ushort.Parse(host[1]);
var port = host.Length > 1 ? ushort.Parse(host[1]) : (ushort) 10518;
// assign domain from hostname if not provided
var domain = Domain != null ? Domain : address;