diff --git a/DnsServerCore/LogManager.cs b/DnsServerCore/LogManager.cs index cdff46c3..b001c00b 100644 --- a/DnsServerCore/LogManager.cs +++ b/DnsServerCore/LogManager.cs @@ -293,6 +293,11 @@ namespace DnsServerCore } public void Write(IPEndPoint ep, DnsTransportProtocol protocol, string message) + { + Write(ep, protocol.ToString(), message); + } + + public void Write(IPEndPoint ep, string protocol, string message) { string ipInfo; @@ -303,7 +308,7 @@ namespace DnsServerCore else ipInfo = "[" + ep.ToString() + "] "; - Write(ipInfo + "[" + protocol.ToString().ToUpper() + "] " + message); + Write(ipInfo + "[" + protocol.ToUpper() + "] " + message); } public void Write(string message)